public class DocumentSource extends SAXSource
DocumentSource implements a JAXP SAXSourcefor a
.
| Modifier and Type | Field and Description |
|---|---|
static String |
DOM4J_FEATURE
If
TransformerFactory.getFeature(java.lang.String)returns
true when passed this value as an argument then the
Transformer natively supports dom4j . |
| Constructor and Description |
|---|
DocumentSource(Document document)
|
DocumentSource(Node node)
|
| Modifier and Type | Method and Description |
|---|---|
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
instance.
|
void |
setXMLReader(XMLReader reader)
Sets the XMLReader used for the JAXP
SAXSource. |
getInputSource, getSystemId, setSystemId, sourceToInputSourcepublic static final String DOM4J_FEATURE
TransformerFactory.getFeature(java.lang.String)returns
true when passed this value as an argument then the
Transformer natively supports dom4j .public DocumentSource(Node node)
node - DOCUMENT ME!public DocumentSource(Document document)
document - DOCUMENT ME!public Document getDocument()
SAXSourcepublic void setDocument(Document document)
SAXSourcedocument - DOCUMENT ME!public XMLReader getXMLReader()
getXMLReader in class SAXSourceSAXSource.public void setInputSource(InputSource inputSource) throws UnsupportedOperationException
setInputSource in class SAXSourceinputSource - DOCUMENT ME!UnsupportedOperationException - as this method is unsupportedpublic void setXMLReader(XMLReader reader) throws UnsupportedOperationException
SAXSource.setXMLReader in class SAXSourcereader - DOCUMENT ME!UnsupportedOperationException - DOCUMENT ME!Copyright © 2012 JBoss by Red Hat. All Rights Reserved.