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

Quick Search    Search Deep

org.jext.xml
Class XInsertHandler  view XInsertHandler download XInsertHandler.java

java.lang.Object
  extended bycom.microstar.xml.HandlerBase
      extended byorg.jext.xml.XInsertHandler
All Implemented Interfaces:
com.microstar.xml.XmlHandler

public class XInsertHandler
extends com.microstar.xml.HandlerBase


Field Summary
private  java.lang.String lastAttr
           
private  java.lang.String lastAttrValue
           
private  java.lang.String lastModes
           
private  java.lang.String lastName
           
private  java.lang.String lastValue
           
private  java.util.Stack stateStack
           
private  org.jext.xinsert.XTree tree
           
private  java.lang.String type
           
 
Constructor Summary
XInsertHandler(org.jext.xinsert.XTree tree)
           
 
Method Summary
 void attribute(java.lang.String aname, java.lang.String value, boolean isSpecified)
          Handle an attribute assignment.
 void charData(char[] c, int off, int len)
          Handle character data.
 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.
protected  void finalize()
          Patch -> Memory management improvements : it may help the garbage collector.
 void startDocument()
          Handle the start of the document.
 void startElement(java.lang.String name)
          Handle the start of an element.
 
Methods inherited from class com.microstar.xml.HandlerBase
endDocument, endExternalEntity, error, ignorableWhitespace, processingInstruction, resolveEntity, startExternalEntity
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tree

private org.jext.xinsert.XTree tree

stateStack

private java.util.Stack stateStack

lastAttr

private java.lang.String lastAttr

lastName

private java.lang.String lastName

lastValue

private java.lang.String lastValue

lastAttrValue

private java.lang.String lastAttrValue

lastModes

private java.lang.String lastModes

type

private java.lang.String type
Constructor Detail

XInsertHandler

public XInsertHandler(org.jext.xinsert.XTree tree)
Method Detail

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.


charData

public void charData(char[] c,
                     int off,
                     int len)
Description copied from class: com.microstar.xml.HandlerBase
Handle character data.

The default implementation does nothing.


startElement

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

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.


startDocument

public void startDocument()
Description copied from class: com.microstar.xml.HandlerBase
Handle the start of the document.

The default implementation does nothing.


finalize

protected void finalize()
                 throws java.lang.Throwable
Patch -> Memory management improvements : it may help the garbage collector. -> Author : Julien Ponge (julien@izforge.com) -> Date : 23, May 2001