|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.transform.sax.SAXSource
org.dom4j.io.DocumentSource
DocumentSource
implements a JAXP Source
for a Document
.
Field Summary | |
static java.lang.String |
DOM4J_FEATURE
If TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument
then the Transformer natively supports dom4j. |
Fields inherited from class javax.xml.transform.sax.SAXSource |
FEATURE |
Constructor Summary | |
DocumentSource(Document document)
Creates a JAXP Source for the given
Document . |
|
DocumentSource(Node node)
Creates a JAXP Source for the given
Node . |
Method Summary | |
Document |
getDocument()
|
org.xml.sax.XMLReader |
getXMLReader()
|
void |
setDocument(Document document)
Sets the document used as the JAXP Source |
void |
setInputSource(org.xml.sax.InputSource inputSource)
This method is not supported as this source is always a Document instance. |
void |
setXMLReader(org.xml.sax.XMLReader reader)
Sets the XMLReader used for the JAXP Source . |
Methods inherited from class javax.xml.transform.sax.SAXSource |
getInputSource, getSystemId, setSystemId, sourceToInputSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DOM4J_FEATURE
TransformerFactory.getFeature(java.lang.String)
returns true
when passed this value as an argument
then the Transformer natively supports dom4j.
Constructor Detail |
public DocumentSource(Node node)
Source
for the given
Node
.
public DocumentSource(Document document)
Source
for the given
Document
.
Method Detail |
public Document getDocument()
Source
public void setDocument(Document document)
Source
public org.xml.sax.XMLReader getXMLReader()
Source
.public void setInputSource(org.xml.sax.InputSource inputSource) throws java.lang.UnsupportedOperationException
Document
instance.
java.lang.UnsupportedOperationException
- as this method is unsupportedpublic void setXMLReader(org.xml.sax.XMLReader reader) throws java.lang.UnsupportedOperationException
Source
.
java.lang.UnsupportedOperationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |