net.ontopia.topicmaps.nav2.utils
Class NavigatorConfigurationContentHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by net.ontopia.xml.SAXTracker
          extended by net.ontopia.topicmaps.nav2.utils.NavigatorConfigurationContentHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.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
NavigatorConfigurationContentHandler()
          INTERNAL: default constructor.
 
Method Summary
 void endElement(java.lang.String nsuri, java.lang.String lname, java.lang.String qname)
           
 NavigatorConfigurationIF getNavigatorConfiguration()
           
 void startDocument()
           
 void startElement(java.lang.String nsuri, java.lang.String lname, java.lang.String qname, org.xml.sax.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigatorConfigurationContentHandler

public NavigatorConfigurationContentHandler()
INTERNAL: default constructor.

Method Detail

getNavigatorConfiguration

public NavigatorConfigurationIF getNavigatorConfiguration()

startDocument

public void startDocument()
                   throws org.xml.sax.SAXException
Specified by:
startDocument in interface org.xml.sax.ContentHandler
Overrides:
startDocument in class org.xml.sax.helpers.DefaultHandler
Throws:
org.xml.sax.SAXException

startElement

public void startElement(java.lang.String nsuri,
                         java.lang.String lname,
                         java.lang.String qname,
                         org.xml.sax.Attributes attrs)
                  throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler
Overrides:
startElement in class SAXTracker
Throws:
org.xml.sax.SAXException

endElement

public void endElement(java.lang.String nsuri,
                       java.lang.String lname,
                       java.lang.String qname)
                throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler
Overrides:
endElement in class SAXTracker
Throws:
org.xml.sax.SAXException


Copyright © 2000-2012 Ontopia.