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 | Description |
---|---|
ProxyDocumentFactory() |
|
ProxyDocumentFactory(DocumentFactory proxy) |
Modifier and Type | Method | Description |
---|---|---|
Attribute |
createAttribute(Element owner,
java.lang.String name,
java.lang.String value) |
|
Attribute |
createAttribute(Element owner,
QName qname,
java.lang.String value) |
|
CDATA |
createCDATA(java.lang.String text) |
|
Comment |
createComment(java.lang.String text) |
|
DocumentType |
createDocType(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId) |
|
Document |
createDocument() |
|
Document |
createDocument(Element rootElement) |
|
Element |
createElement(java.lang.String name) |
|
Element |
createElement(QName qname) |
|
Entity |
createEntity(java.lang.String name,
java.lang.String text) |
|
Namespace |
createNamespace(java.lang.String prefix,
java.lang.String uri) |
|
Pattern |
createPattern(java.lang.String xpathPattern) |
|
ProcessingInstruction |
createProcessingInstruction(java.lang.String target,
java.lang.String data) |
|
ProcessingInstruction |
createProcessingInstruction(java.lang.String target,
java.util.Map<java.lang.String,java.lang.String> data) |
|
QName |
createQName(java.lang.String localName) |
|
QName |
createQName(java.lang.String qualifiedName,
java.lang.String uri) |
|
QName |
createQName(java.lang.String name,
java.lang.String prefix,
java.lang.String uri) |
|
QName |
createQName(java.lang.String localName,
Namespace namespace) |
|
Text |
createText(java.lang.String text) |
|
XPath |
createXPath(java.lang.String xpathExpression) |
|
XPath |
createXPath(java.lang.String xpathExpression,
org.jaxen.VariableContext variableContext) |
|
NodeFilter |
createXPathFilter(java.lang.String xpathFilterExpression) |
|
NodeFilter |
createXPathFilter(java.lang.String xpathFilterExpression,
org.jaxen.VariableContext variableContext) |
|
protected DocumentFactory |
getProxy() |
|
protected void |
setProxy(DocumentFactory proxy) |
public ProxyDocumentFactory()
public ProxyDocumentFactory(DocumentFactory proxy)
public Document createDocument()
public DocumentType createDocType(java.lang.String name, java.lang.String publicId, java.lang.String systemId)
public Element createElement(java.lang.String name)
public Attribute createAttribute(Element owner, QName qname, java.lang.String value)
public Attribute createAttribute(Element owner, java.lang.String name, java.lang.String value)
public CDATA createCDATA(java.lang.String text)
public Comment createComment(java.lang.String text)
public Text createText(java.lang.String text)
public Entity createEntity(java.lang.String name, java.lang.String text)
public Namespace createNamespace(java.lang.String prefix, java.lang.String uri)
public ProcessingInstruction createProcessingInstruction(java.lang.String target, java.lang.String data)
public ProcessingInstruction createProcessingInstruction(java.lang.String target, java.util.Map<java.lang.String,java.lang.String> data)
public QName createQName(java.lang.String localName)
public QName createQName(java.lang.String name, java.lang.String prefix, java.lang.String uri)
public QName createQName(java.lang.String qualifiedName, java.lang.String uri)
public XPath createXPath(java.lang.String xpathExpression)
public XPath createXPath(java.lang.String xpathExpression, org.jaxen.VariableContext variableContext)
public NodeFilter createXPathFilter(java.lang.String xpathFilterExpression, org.jaxen.VariableContext variableContext)
public NodeFilter createXPathFilter(java.lang.String xpathFilterExpression)
public Pattern createPattern(java.lang.String xpathPattern)
protected DocumentFactory getProxy()
protected void setProxy(DocumentFactory proxy)