net.ontopia.topicmaps.webed.impl.utils
Class ActionConfigContentHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by net.ontopia.xml.SAXTracker
          extended by net.ontopia.topicmaps.webed.impl.utils.ActionConfigContentHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class ActionConfigContentHandler
extends SAXTracker

INTERNAL: Parse an XML instance which stores information about the action configuration which builds up basically action groups hold inside a so-called action registry.

Note: Assumes a well-formed and valid XML instance according the DTD.


Field Summary
 
Fields inherited from class net.ontopia.xml.SAXTracker
content, keepContentsOf, locator, openElements
 
Constructor Summary
ActionConfigContentHandler(java.lang.String contextPath)
          default constructor.
 
Method Summary
 void endElement(java.lang.String nsuri, java.lang.String lname, java.lang.String qname)
           
 ActionRegistryIF getRegistry()
          Gets the action registry object.
 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, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionConfigContentHandler

public ActionConfigContentHandler(java.lang.String contextPath)
default constructor.

Method Detail

getRegistry

public ActionRegistryIF getRegistry()
Gets the action registry object.


startElement

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

endElement

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


Copyright © 2000-2012 Ontopia.