org.dom4j.io
Class DocumentSource
SAXSource
org.dom4j.io.DocumentSource
public class DocumentSource
extends SAXSource
DocumentSource
implements a JAXP SAXSource
for a
.
static String | DOM4J_FEATURE - If
javax.xml.transform.TransformerFactory.getFeature returns
true when passed this value as an argument then the
Transformer natively supports dom4j .
|
DOM4J_FEATURE
public static final String DOM4J_FEATURE
If javax.xml.transform.TransformerFactory.getFeature
returns
true
when passed this value as an argument then the
Transformer natively supports dom4j .
DocumentSource
public DocumentSource(Document document)
Creates a JAXP
SAXSource
for the given
Document
.
DocumentSource
public DocumentSource(Node node)
Creates a JAXP
SAXSource
for the given
Node
.
getDocument
public Document getDocument()
DOCUMENT ME!
- the document which is being used as the JAXP
SAXSource
getXMLReader
public XMLReader getXMLReader()
DOCUMENT ME!
- the XMLReader to be used for the JAXP
SAXSource
.
setDocument
public void setDocument(Document document)
Sets the document used as the JAXP SAXSource
setInputSource
public void setInputSource(InputSource inputSource)
throws UnsupportedOperationException
This method is not supported as this source is always a
instance.
inputSource
- DOCUMENT ME!
setXMLReader
public void setXMLReader(XMLReader reader)
throws UnsupportedOperationException
Sets the XMLReader used for the JAXP SAXSource
.
Copyright B) 2005 MetaStuff Ltd. All Rights Reserved. Hosted by 