public class XMLDBStrategy extends DocumentMarshalling
Modifier and Type | Field and Description |
---|---|
protected org.xmldb.api.base.Collection |
collection |
protected MarshallingContext |
context |
protected SAXContentHandler |
extractContent |
protected SAXWriter |
resolver |
protected org.xmldb.api.modules.TransactionService |
transactionService |
Constructor and Description |
---|
XMLDBStrategy(MarshallingContext context) |
Modifier and Type | Method and Description |
---|---|
void |
marshal(String aId,
Node aNode) |
protected void |
resolve(Node aNode) |
void |
setContext(MarshallingContext aContext) |
Node |
unmarshal(String systemId) |
getInstance
protected SAXContentHandler extractContent
protected MarshallingContext context
protected org.xmldb.api.modules.TransactionService transactionService
protected org.xmldb.api.base.Collection collection
public XMLDBStrategy(MarshallingContext context) throws IllegalAccessException, InstantiationException
public void marshal(String aId, Node aNode) throws Exception
marshal
in interface MarshallingStrategy
marshal
in class DocumentMarshalling
Exception
public Node unmarshal(String systemId)
unmarshal
in interface MarshallingStrategy
unmarshal
in class DocumentMarshalling
protected void resolve(Node aNode) throws SAXException
SAXException
public void setContext(MarshallingContext aContext)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses