|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.xml.AbstractXMLFormatReader
public abstract class AbstractXMLFormatReader
INTERNAL: A common base class for Reader implementations that can read XML-based syntaxes.
Field Summary | |
---|---|
protected LocatorIF |
base_address
|
protected org.xml.sax.InputSource |
source
|
protected XMLReaderFactoryIF |
xrfactory
|
Constructor Summary | |
---|---|
AbstractXMLFormatReader()
|
Method Summary | |
---|---|
protected abstract void |
configureXMLReaderFactory(ConfiguredXMLReaderFactory cxrfactory)
|
LocatorIF |
getBaseAddress()
INTERNAL: Gets the top level base address of the input source. |
org.xml.sax.InputSource |
getInputSource()
INTERNAL: Gets the SAX input source used by the reader. |
XMLReaderFactoryIF |
getXMLReaderFactory()
INTERNAL: Gets the XMLReaderFactoryIF that will be used to create XML parser objects inside the reader. |
void |
setBaseAddress(LocatorIF base_address)
INTERNAL: Sets the top level base address of the input source. |
void |
setInputSource(org.xml.sax.InputSource source)
INTERNAL: Sets the SAX input source used by the reader. |
void |
setXMLReaderFactory(XMLReaderFactoryIF xrfactory)
INTERNAL: Sets the XMLReaderFactoryIF that will be used to create XML parser objects inside the reader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.xml.sax.InputSource source
protected LocatorIF base_address
protected XMLReaderFactoryIF xrfactory
Constructor Detail |
---|
public AbstractXMLFormatReader()
Method Detail |
---|
public org.xml.sax.InputSource getInputSource()
public void setInputSource(org.xml.sax.InputSource source)
public LocatorIF getBaseAddress()
public void setBaseAddress(LocatorIF base_address)
public XMLReaderFactoryIF getXMLReaderFactory()
public void setXMLReaderFactory(XMLReaderFactoryIF xrfactory)
Default: ConfiguredXMLReaderFactory
using an
IgnoreTopicMapDTDEntityResolver
entity resolver.
The factory is free to configure the XML reader object as it sees fit, but the reader will use its own internal content handler.
protected abstract void configureXMLReaderFactory(ConfiguredXMLReaderFactory cxrfactory)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |