Package org.dom4j.util
Class ProxyDocumentFactory
- java.lang.Object
-
- org.dom4j.util.ProxyDocumentFactory
-
public abstract class ProxyDocumentFactory extends Object
ProxyDocumentFactory
implements a proxy to a DocumentFactory which is useful for implementation inheritence, allowing the pipelining of various factory implementations. For example an EncodingDocumentFactory which takes care of encoding strings outside of allowable XML ranges could be used with a DatatypeDocumentFactory which is XML Schema Data Type aware.
-
-
Constructor Summary
Constructors Constructor Description ProxyDocumentFactory()
ProxyDocumentFactory(DocumentFactory proxy)
-
Method Summary
-
-
-
Constructor Detail
-
ProxyDocumentFactory
public ProxyDocumentFactory()
-
ProxyDocumentFactory
public ProxyDocumentFactory(DocumentFactory proxy)
-
-
Method Detail
-
createDocument
public Document createDocument()
-
createDocType
public DocumentType createDocType(String name, String publicId, String systemId)
-
createProcessingInstruction
public ProcessingInstruction createProcessingInstruction(String target, String data)
-
createProcessingInstruction
public ProcessingInstruction createProcessingInstruction(String target, Map<String,String> data)
-
createXPath
public XPath createXPath(String xpathExpression, org.jaxen.VariableContext variableContext)
-
createXPathFilter
public NodeFilter createXPathFilter(String xpathFilterExpression, org.jaxen.VariableContext variableContext)
-
createXPathFilter
public NodeFilter createXPathFilter(String xpathFilterExpression)
-
getProxy
protected DocumentFactory getProxy()
-
setProxy
protected void setProxy(DocumentFactory proxy)
-
-