Class DocumentSource
java.lang.Object
javax.xml.transform.sax.SAXSource
org.dom4j.io.DocumentSource
- All Implemented Interfaces:
Source
- Version:
- $Revision: 1.10 $
- Author:
- James Strachan
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIfTransformerFactory.getFeature(String)returnstruewhen passed this value as an argument then the Transformer natively supports dom4j . -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDOCUMENT ME!DOCUMENT ME!voidsetDocument(Document document) Sets the document used as the JAXPSAXSourcevoidsetInputSource(InputSource inputSource) This method is not supported as this source is always aDocumentinstance.voidsetXMLReader(XMLReader reader) Sets the XMLReader used for the JAXPSAXSource.Methods inherited from class SAXSource
getInputSource, getSystemId, isEmpty, setSystemId, sourceToInputSource
-
Field Details
-
DOM4J_FEATURE
IfTransformerFactory.getFeature(String)returnstruewhen passed this value as an argument then the Transformer natively supports dom4j .- See Also:
-
-
Constructor Details
-
DocumentSource
-
DocumentSource
-
-
Method Details
-
getDocument
-
setDocument
-
getXMLReader
DOCUMENT ME!- Overrides:
getXMLReaderin classSAXSource- Returns:
- the XMLReader to be used for the JAXP
SAXSource.
-
setInputSource
This method is not supported as this source is always aDocumentinstance.- Overrides:
setInputSourcein classSAXSource- Parameters:
inputSource- DOCUMENT ME!- Throws:
UnsupportedOperationException- as this method is unsupported
-
setXMLReader
Sets the XMLReader used for the JAXPSAXSource.- Overrides:
setXMLReaderin classSAXSource- Parameters:
reader- DOCUMENT ME!- Throws:
UnsupportedOperationException- DOCUMENT ME!
-