Package com.topologi.diffx.xml.sax
Class XMLWritableReader
java.lang.Object
com.topologi.diffx.xml.sax.XMLWritableReader
- All Implemented Interfaces:
XMLReader
An XMLReader implementation that can be used to parse XMLWritable objects.
Typically, XMLWritable objects are wrapped into an
XMLWritableInputSource so that the XMLReader API
methods are used; however, it is perfectly possible to parse directly an
XMLWritable object.
- Version:
- 27 May 2005
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe features used by this XML reader implementation.private ContentHandlerThe content reader this XMLReader will use.private static final StringThe URI of the namespace feature.private static final StringThe URI of the namespace prefixes feature. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturnsnull.Returnsnull.Returnsnull.booleangetFeature(String name) getProperty(String name) Returnsnull.voidparse(XMLWritableInputSource input) voidparse(XMLWritable xml) voidvoidparse(InputSource input) voidsetContentHandler(ContentHandler chandler) voidsetDTDHandler(DTDHandler dhandler) Does nothing.voidsetEntityResolver(EntityResolver resolver) Returnsnull.voidsetErrorHandler(ErrorHandler ehandler) Does nothing.voidsetFeature(String name, boolean value) voidsetProperty(String name, Object value) Does nothing.
-
Field Details
-
NAMESPACES
The URI of the namespace feature.- See Also:
-
NS_PREFIXES
The URI of the namespace prefixes feature.- See Also:
-
features
The features used by this XML reader implementation. -
handler
The content reader this XMLReader will use.
-
-
Constructor Details
-
XMLWritableReader
public XMLWritableReader()Creates a new XML Reader.
-
-
Method Details
-
getContentHandler
- Specified by:
getContentHandlerin interfaceXMLReader
-
setContentHandler
- Specified by:
setContentHandlerin interfaceXMLReader
-
getErrorHandler
Returnsnull.- Specified by:
getErrorHandlerin interfaceXMLReader
-
setErrorHandler
Does nothing.- Specified by:
setErrorHandlerin interfaceXMLReader
-
getDTDHandler
Returnsnull.- Specified by:
getDTDHandlerin interfaceXMLReader
-
setDTDHandler
Does nothing.- Specified by:
setDTDHandlerin interfaceXMLReader
-
getEntityResolver
Returnsnull.- Specified by:
getEntityResolverin interfaceXMLReader
-
setEntityResolver
Returnsnull.- Specified by:
setEntityResolverin interfaceXMLReader
-
getProperty
Returnsnull.- Specified by:
getPropertyin interfaceXMLReader
-
setProperty
Does nothing.- Specified by:
setPropertyin interfaceXMLReader
-
getFeature
- Specified by:
getFeaturein interfaceXMLReader
-
setFeature
- Specified by:
setFeaturein interfaceXMLReader
-
parse
- Specified by:
parsein interfaceXMLReader- Throws:
IOExceptionSAXException
-
parse
- Specified by:
parsein interfaceXMLReader- Throws:
IOExceptionSAXException
-
parse
- Throws:
IOExceptionSAXException
-
parse
- Throws:
IOExceptionSAXException
-