Package net.ontopia.topicmaps.nav2.utils
Class NavigatorConfigurationContentHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- net.ontopia.xml.SAXTracker
-
- net.ontopia.topicmaps.nav2.utils.NavigatorConfigurationContentHandler
-
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
public class NavigatorConfigurationContentHandler extends SAXTracker
INTERNAL: A Content Handler for reading in an application configuration file (default name:application.xml
, default location:WEB-INF/config
).- See Also:
NavigatorConfigurationIF
,NavigatorConfiguration
-
-
Field Summary
-
Fields inherited from class net.ontopia.xml.SAXTracker
content, keepContentsOf, locator, openElements
-
-
Constructor Summary
Constructors Constructor Description NavigatorConfigurationContentHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endElement(String nsuri, String lname, String qname)
NavigatorConfigurationIF
getNavigatorConfiguration()
void
startDocument()
void
startElement(String nsuri, String lname, String qname, Attributes attrs)
-
Methods inherited from class net.ontopia.xml.SAXTracker
characters, isParent, keepContentsOf, setDocumentLocator
-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Method Detail
-
getNavigatorConfiguration
public NavigatorConfigurationIF getNavigatorConfiguration()
-
startDocument
public void startDocument() throws SAXException
- Specified by:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classDefaultHandler
- Throws:
SAXException
-
startElement
public void startElement(String nsuri, String lname, String qname, Attributes attrs) throws SAXException
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classSAXTracker
- Throws:
SAXException
-
endElement
public void endElement(String nsuri, String lname, String qname) throws SAXException
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classSAXTracker
- Throws:
SAXException
-
-