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 voidendElement(String nsuri, String lname, String qname)NavigatorConfigurationIFgetNavigatorConfiguration()voidstartDocument()voidstartElement(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:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classDefaultHandler- Throws:
SAXException
-
startElement
public void startElement(String nsuri, String lname, String qname, Attributes attrs) throws SAXException
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classSAXTracker- Throws:
SAXException
-
endElement
public void endElement(String nsuri, String lname, String qname) throws SAXException
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classSAXTracker- Throws:
SAXException
-
-