ij.plugin.frame.jedit
Class ModeCatalogHandler

java.lang.Object
  extended by com.microstar.xml.HandlerBase
      extended by ij.plugin.frame.jedit.ModeCatalogHandler
All Implemented Interfaces:
XmlHandler

public class ModeCatalogHandler
extends HandlerBase


Constructor Summary
ModeCatalogHandler(java.lang.String directory, boolean resource)
           
 
Method Summary
 void attribute(java.lang.String aname, java.lang.String value, boolean isSpecified)
          Handle an attribute assignment.
 void doctypeDecl(java.lang.String name, java.lang.String publicId, java.lang.String systemId)
          Handle a document type declaration.
 void endElement(java.lang.String name)
          Handle the end of an element.
 java.lang.Object resolveEntity(java.lang.String publicId, java.lang.String systemId)
          Resolve an external entity.
 
Methods inherited from class com.microstar.xml.HandlerBase
charData, endDocument, endExternalEntity, error, ignorableWhitespace, processingInstruction, startDocument, startElement, startExternalEntity
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModeCatalogHandler

public ModeCatalogHandler(java.lang.String directory,
                          boolean resource)
Method Detail

resolveEntity

public java.lang.Object resolveEntity(java.lang.String publicId,
                                      java.lang.String systemId)
Description copied from class: HandlerBase
Resolve an external entity.

The default implementation simply returns the supplied system identifier.

Specified by:
resolveEntity in interface XmlHandler
Overrides:
resolveEntity in class HandlerBase
Parameters:
publicId - The public identifier, or null if none was supplied.
systemId - The system identifier.
Returns:
The replacement system identifier, or null to use the default.
See Also:
XmlHandler.resolveEntity(java.lang.String, java.lang.String)

attribute

public void attribute(java.lang.String aname,
                      java.lang.String value,
                      boolean isSpecified)
Description copied from class: HandlerBase
Handle an attribute assignment.

The default implementation does nothing.

Specified by:
attribute in interface XmlHandler
Overrides:
attribute in class HandlerBase
value - The value of the attribute, or null if the attribute is #IMPLIED.
isSpecified - True if the value was specified, false if it was defaulted from the DTD.
See Also:
XmlHandler.attribute(java.lang.String, java.lang.String, boolean)

doctypeDecl

public void doctypeDecl(java.lang.String name,
                        java.lang.String publicId,
                        java.lang.String systemId)
                 throws java.lang.Exception
Description copied from class: HandlerBase
Handle a document type declaration.

The default implementation does nothing.

Specified by:
doctypeDecl in interface XmlHandler
Overrides:
doctypeDecl in class HandlerBase
Parameters:
name - The document type name.
publicId - The public identifier, or null if unspecified.
systemId - The system identifier, or null if unspecified.
Throws:
java.lang.Exception - The handler may throw any exception.
See Also:
XmlHandler.doctypeDecl(java.lang.String, java.lang.String, java.lang.String)

endElement

public void endElement(java.lang.String name)
Description copied from class: HandlerBase
Handle the end of an element.

The default implementation does nothing.

Specified by:
endElement in interface XmlHandler
Overrides:
endElement in class HandlerBase
Parameters:
name - The element type name.
See Also:
XmlHandler.endElement(java.lang.String)