org.dom4j.io
public class DocumentSource extends SAXSource
DocumentSource implements a JAXP SAXSourcefor a
{@linkDocument }.
Version: $Revision: 1.10 $
| Field Summary | |
|---|---|
| static String | DOM4J_FEATURE
If javax.xml.transform.TransformerFactory#getFeaturereturns
true when passed this value as an argument then the
Transformer natively supports dom4j . |
| Constructor Summary | |
|---|---|
| DocumentSource(Node node)
Creates a JAXP SAXSourcefor the given Node.
| |
| DocumentSource(Document document)
Creates a JAXP SAXSourcefor the given Document.
| |
| Method Summary | |
|---|---|
| Document | getDocument()
DOCUMENT ME!
|
| XMLReader | getXMLReader()
DOCUMENT ME!
|
| void | setDocument(Document document)
Sets the document used as the JAXP SAXSource
|
| void | setInputSource(InputSource inputSource)
This method is not supported as this source is always a {@linkDocument }
instance.
|
| void | setXMLReader(XMLReader reader)
Sets the XMLReader used for the JAXP SAXSource.
|
true when passed this value as an argument then the
Transformer natively supports dom4j .Parameters: node DOCUMENT ME!
Parameters: document DOCUMENT ME!
Returns: the document which is being used as the JAXP SAXSource
Returns: the XMLReader to be used for the JAXP SAXSource.
Parameters: document DOCUMENT ME!
Parameters: inputSource DOCUMENT ME!
Throws: UnsupportedOperationException as this method is unsupported
Parameters: reader DOCUMENT ME!
Throws: UnsupportedOperationException DOCUMENT ME!