Save This Page
Home » dom4j-1.6.1 » org.dom4j.util » [javadoc | source]
org.dom4j.util
abstract public class: ProxyDocumentFactory [javadoc | source]
java.lang.Object
   org.dom4j.util.ProxyDocumentFactory

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:
 public ProxyDocumentFactory() 
 public ProxyDocumentFactory(DocumentFactory proxy) 
Method from org.dom4j.util.ProxyDocumentFactory Summary:
createAttribute,   createAttribute,   createCDATA,   createComment,   createDocType,   createDocument,   createDocument,   createElement,   createElement,   createEntity,   createNamespace,   createPattern,   createProcessingInstruction,   createProcessingInstruction,   createQName,   createQName,   createQName,   createQName,   createText,   createXPath,   createXPath,   createXPathFilter,   createXPathFilter,   getProxy,   setProxy
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.dom4j.util.ProxyDocumentFactory Detail:
 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 DocumentType createDocType(String name,
    String publicId,
    String systemId) 
 public Document createDocument() 
 public Document createDocument(Element rootElement) 
 public Element createElement(QName qname) 
 public Element createElement(String name) 
 public Entity createEntity(String name,
    String text) 
 public Namespace createNamespace(String prefix,
    String uri) 
 public Pattern createPattern(String xpathPattern) 
 public ProcessingInstruction createProcessingInstruction(String target,
    String data) 
 public ProcessingInstruction createProcessingInstruction(String target,
    Map data) 
 public QName createQName(String localName) 
 public QName createQName(String localName,
    Namespace namespace) 
 public QName createQName(String qualifiedName,
    String uri) 
 public QName createQName(String name,
    String prefix,
    String uri) 
 public Text createText(String text) 
 public XPath createXPath(String xpathExpression) 
 public XPath createXPath(String xpathExpression,
    VariableContext variableContext) 
 public NodeFilter createXPathFilter(String xpathFilterExpression) 
 public NodeFilter createXPathFilter(String xpathFilterExpression,
    VariableContext variableContext) 
 protected DocumentFactory getProxy() 
 protected  void setProxy(DocumentFactory proxy)