Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.gjt.sp.jedit
Class ModeCatalogHandler  view ModeCatalogHandler download ModeCatalogHandler.java

java.lang.Object
  extended bycom.microstar.xml.HandlerBase
      extended byorg.gjt.sp.jedit.ModeCatalogHandler
All Implemented Interfaces:
com.microstar.xml.XmlHandler

class ModeCatalogHandler
extends com.microstar.xml.HandlerBase


Field Summary
private  java.lang.String directory
           
private  java.lang.String file
           
private  java.lang.String filenameGlob
           
private  java.lang.String firstlineGlob
           
private  java.lang.String modeName
           
private  boolean resource
           
 
Constructor Summary
(package private) 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

directory

private java.lang.String directory

resource

private boolean resource

modeName

private java.lang.String modeName

file

private java.lang.String file

filenameGlob

private java.lang.String filenameGlob

firstlineGlob

private java.lang.String firstlineGlob
Constructor Detail

ModeCatalogHandler

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: com.microstar.xml.HandlerBase
Resolve an external entity.

The default implementation simply returns the supplied system identifier.


attribute

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

The default implementation does nothing.


doctypeDecl

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

The default implementation does nothing.


endElement

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

The default implementation does nothing.