Package org.jdom2.output.support
Class AbstractStAXStreamReaderProcessor
java.lang.Object
org.jdom2.output.support.AbstractStAXStreamReaderProcessor
- All Implemented Interfaces:
StAXStreamReaderProcessor
A complete (but still abstract) implementation of a class that produces
XMLStreamReaders based on the class AbstractXMLStreamReader. Users who need
to make changes to the output format that are not possible with just the
Format class, may need to extend this class to create instances of their own
XMLStreamReader. Their own implementation could in turn extend the AbstractXMLReader
class which contains the bulk of the StAX Logic.
- Author:
- Rolf Lear
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildReader
(Document doc, Format format) Return an implementation of an XMLStreamReader that represents a JDOM Document.
-
Constructor Details
-
AbstractStAXStreamReaderProcessor
public AbstractStAXStreamReaderProcessor()
-
-
Method Details
-
buildReader
Description copied from interface:StAXStreamReaderProcessor
Return an implementation of an XMLStreamReader that represents a JDOM Document.- Specified by:
buildReader
in interfaceStAXStreamReaderProcessor
- Parameters:
doc
- The Document to represent.format
- The Format to apply to the document.- Returns:
- The XMLStreamReader that expresses the JDOM Document.
-