public class DocumentSource extends SAXSource
DocumentSource
implements a JAXP SAXSource
for 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, sourceToInputSource
public 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()
SAXSource
public void setDocument(Document document)
SAXSource
document
- DOCUMENT ME!public XMLReader getXMLReader()
getXMLReader
in class SAXSource
SAXSource
.public void setInputSource(InputSource inputSource) throws UnsupportedOperationException
setInputSource
in class SAXSource
inputSource
- DOCUMENT ME!UnsupportedOperationException
- as this method is unsupportedpublic void setXMLReader(XMLReader reader) throws UnsupportedOperationException
SAXSource
.setXMLReader
in class SAXSource
reader
- DOCUMENT ME!UnsupportedOperationException
- DOCUMENT ME!Copyright © 2012 JBoss by Red Hat. All Rights Reserved.