net.ontopia.topicmaps.nav2.plugins
Class PluginContentHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by net.ontopia.xml.SAXTracker
          extended by net.ontopia.topicmaps.nav2.plugins.PluginContentHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class PluginContentHandler
extends SAXTracker

INTERNAL: A Content Handler for reading in a Plug-in Configuration file (plugin.xml) which contains detailed information about one (or more) Plug-in(s).

See Also:
PluginIF

Field Summary
static java.lang.String PLUGINS_ROOTDIR_PLACEHOLDER
           
 
Fields inherited from class net.ontopia.xml.SAXTracker
content, keepContentsOf, locator, openElements
 
Constructor Summary
PluginContentHandler(java.lang.String pluginsRootURI)
           
 
Method Summary
 void endElement(java.lang.String nsuri, java.lang.String lname, java.lang.String qname)
           
 java.util.Collection getPlugins()
           
 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
 

Field Detail

PLUGINS_ROOTDIR_PLACEHOLDER

public static final java.lang.String PLUGINS_ROOTDIR_PLACEHOLDER
See Also:
Constant Field Values
Constructor Detail

PluginContentHandler

public PluginContentHandler(java.lang.String pluginsRootURI)
Method Detail

getPlugins

public java.util.Collection getPlugins()

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.