public class DocumentSource extends SAXSource
DocumentSource
implements a JAXP SAXSource
for a
.
限定符和类型 | 字段和说明 |
---|---|
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 . |
构造器和说明 |
---|
DocumentSource(Document document)
|
DocumentSource(Node node)
|
限定符和类型 | 方法和说明 |
---|---|
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
在类中 SAXSource
SAXSource
.public void setInputSource(InputSource inputSource) throws UnsupportedOperationException
setInputSource
在类中 SAXSource
inputSource
- DOCUMENT ME!UnsupportedOperationException
- as this method is unsupportedpublic void setXMLReader(XMLReader reader) throws UnsupportedOperationException
SAXSource
.setXMLReader
在类中 SAXSource
reader
- DOCUMENT ME!UnsupportedOperationException
- DOCUMENT ME!Copyright © 2005 MetaStuff Ltd. All Rights Reserved. Hosted by