Class ProxyDocumentFactory


  • public abstract class ProxyDocumentFactory
    extends java.lang.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 Detail

      • ProxyDocumentFactory

        public ProxyDocumentFactory()
      • ProxyDocumentFactory

        public ProxyDocumentFactory​(DocumentFactory proxy)
    • Method Detail

      • createDocument

        public Document createDocument()
      • createDocType

        public DocumentType createDocType​(java.lang.String name,
                                          java.lang.String publicId,
                                          java.lang.String systemId)
      • createElement

        public Element createElement​(QName qname)
      • createElement

        public Element createElement​(java.lang.String name)
      • createAttribute

        public Attribute createAttribute​(Element owner,
                                         QName qname,
                                         java.lang.String value)
      • createAttribute

        public Attribute createAttribute​(Element owner,
                                         java.lang.String name,
                                         java.lang.String value)
      • createCDATA

        public CDATA createCDATA​(java.lang.String text)
      • createComment

        public Comment createComment​(java.lang.String text)
      • createText

        public Text createText​(java.lang.String text)
      • createEntity

        public Entity createEntity​(java.lang.String name,
                                   java.lang.String text)
      • createNamespace

        public Namespace createNamespace​(java.lang.String prefix,
                                         java.lang.String uri)
      • createProcessingInstruction

        public ProcessingInstruction createProcessingInstruction​(java.lang.String target,
                                                                 java.lang.String data)
      • createProcessingInstruction

        public ProcessingInstruction createProcessingInstruction​(java.lang.String target,
                                                                 java.util.Map<java.lang.String,​java.lang.String> data)
      • createQName

        public QName createQName​(java.lang.String localName,
                                 Namespace namespace)
      • createQName

        public QName createQName​(java.lang.String localName)
      • createQName

        public QName createQName​(java.lang.String name,
                                 java.lang.String prefix,
                                 java.lang.String uri)
      • createQName

        public QName createQName​(java.lang.String qualifiedName,
                                 java.lang.String uri)
      • createXPath

        public XPath createXPath​(java.lang.String xpathExpression)
      • createXPath

        public XPath createXPath​(java.lang.String xpathExpression,
                                 org.jaxen.VariableContext variableContext)
      • createXPathFilter

        public NodeFilter createXPathFilter​(java.lang.String xpathFilterExpression,
                                            org.jaxen.VariableContext variableContext)
      • createXPathFilter

        public NodeFilter createXPathFilter​(java.lang.String xpathFilterExpression)
      • createPattern

        public Pattern createPattern​(java.lang.String xpathPattern)