Package net.ontopia.xml
Class AbstractXMLFormatReader
java.lang.Object
net.ontopia.xml.AbstractXMLFormatReader
- Direct Known Subclasses:
TMXMLReader,XFMLTopicMapReader,XTMTopicMapReader
INTERNAL: A common base class for Reader implementations that can
read XML-based syntaxes.
- Since:
- 1.2
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractXMLFormatReader(File file) AbstractXMLFormatReader(InputStream stream, LocatorIF base_address) AbstractXMLFormatReader(Reader reader, LocatorIF base_address) AbstractXMLFormatReader(URL url, LocatorIF base_address) AbstractXMLFormatReader(InputSource source, LocatorIF base_address) -
Method Summary
Modifier and TypeMethodDescriptionINTERNAL: Gets the top level base address of the input source.INTERNAL: Gets the SAX input source used by the reader.voidsetBaseAddress(LocatorIF base_address) INTERNAL: Sets the top level base address of the input source.voidsetInputSource(InputSource source) INTERNAL: Sets the SAX input source used by the reader.
-
Field Details
-
source
-
base_address
-
-
Constructor Details
-
AbstractXMLFormatReader
public AbstractXMLFormatReader() -
AbstractXMLFormatReader
-
AbstractXMLFormatReader
- Throws:
MalformedURLException
-
AbstractXMLFormatReader
-
AbstractXMLFormatReader
-
AbstractXMLFormatReader
-
AbstractXMLFormatReader
- Throws:
MalformedURLException
-
-
Method Details
-
getInputSource
INTERNAL: Gets the SAX input source used by the reader. -
setInputSource
INTERNAL: Sets the SAX input source used by the reader. -
getBaseAddress
INTERNAL: Gets the top level base address of the input source. -
setBaseAddress
INTERNAL: Sets the top level base address of the input source. The top level base address is used to resolve relative addresses during input source processing. The top level base address can be overriden by xml:base constructs in the input source. This property need not be set if the input source specifies the base address.
-