net.ontopia.topicmaps.nav2.plugins
Class PluginContentHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
net.ontopia.xml.SAXTracker
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
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 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 |
PLUGINS_ROOTDIR_PLACEHOLDER
public static final java.lang.String PLUGINS_ROOTDIR_PLACEHOLDER
- See Also:
- Constant Field Values
PluginContentHandler
public PluginContentHandler(java.lang.String pluginsRootURI)
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.