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.
Modifier and Type | Field and Description |
---|---|
private DocumentFactory |
proxy |
Constructor and Description |
---|
ProxyDocumentFactory() |
ProxyDocumentFactory(DocumentFactory proxy) |
private DocumentFactory proxy
public ProxyDocumentFactory()
public ProxyDocumentFactory(DocumentFactory proxy)
public Document createDocument()
public Document createDocument(Element rootElement)
public DocumentType createDocType(String name, String publicId, String systemId)
public Element createElement(QName qname)
public Element createElement(String name)
public Attribute createAttribute(Element owner, QName qname, String value)
public Attribute createAttribute(Element owner, String name, String value)
public CDATA createCDATA(String text)
public Comment createComment(String text)
public Text createText(String text)
public Entity createEntity(String name, String text)
public Namespace createNamespace(String prefix, String uri)
public ProcessingInstruction createProcessingInstruction(String target, String data)
public ProcessingInstruction createProcessingInstruction(String target, Map data)
public QName createQName(String localName, Namespace namespace)
public QName createQName(String localName)
public QName createQName(String name, String prefix, String uri)
public QName createQName(String qualifiedName, String uri)
public XPath createXPath(String xpathExpression)
public XPath createXPath(String xpathExpression, org.jaxen.VariableContext variableContext)
public NodeFilter createXPathFilter(String xpathFilterExpression, org.jaxen.VariableContext variableContext)
public NodeFilter createXPathFilter(String xpathFilterExpression)
public Pattern createPattern(String xpathPattern)
protected DocumentFactory getProxy()
protected void setProxy(DocumentFactory proxy)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses