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

Quick Search    Search Deep

joelib.io.types.cml
Class XMLHandler  view XMLHandler download XMLHandler.java

java.lang.Object
  extended byorg.xml.sax.HandlerBase
      extended byjoelib.io.types.cml.XMLHandler
All Implemented Interfaces:
org.xml.sax.DocumentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class XMLHandler
extends org.xml.sax.HandlerBase

DOCUMENT ME!

Version:
$Revision: 1.3 $

Field Summary
private  CMLCoreModule conv
           
 
Constructor Summary
XMLHandler(CDOInterface cdo)
           
 
Method Summary
 void characters(char[] ch, int start, int length)
          Receive notification of character data inside an element.
 void doctypeDecl(java.lang.String name, java.lang.String publicId, java.lang.String systemId)
           
 void endDocument()
          Receive notification of the end of the document.
 void endElement(java.lang.String name)
          Receive notification of the end of an element.
 CDOInterface returnCDO()
           
 void startDocument()
          Receive notification of the beginning of the document.
 void startElement(java.lang.String name, org.xml.sax.AttributeList atts)
          Receive notification of the start of an element.
 
Methods inherited from class org.xml.sax.HandlerBase
error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conv

private CMLCoreModule conv
Constructor Detail

XMLHandler

public XMLHandler(CDOInterface cdo)
Method Detail

characters

public void characters(char[] ch,
                       int start,
                       int length)
Description copied from class: org.xml.sax.HandlerBase
Receive notification of character data inside an element.

By default, do nothing. Application writers may override this method to take specific actions for each chunk of character data (such as adding the data to a node or buffer, or printing it to a file).


doctypeDecl

public void doctypeDecl(java.lang.String name,
                        java.lang.String publicId,
                        java.lang.String systemId)
                 throws java.lang.Exception

endDocument

public void endDocument()
Description copied from class: org.xml.sax.HandlerBase
Receive notification of the end of the document.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the beginning of a document (such as finalising a tree or closing an output file).


endElement

public void endElement(java.lang.String name)
Description copied from class: org.xml.sax.HandlerBase
Receive notification of the end of an element.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of each element (such as finalising a tree node or writing output to a file).


returnCDO

public CDOInterface returnCDO()

startDocument

public void startDocument()
Description copied from class: org.xml.sax.HandlerBase
Receive notification of the beginning of the document.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the beginning of a document (such as allocating the root node of a tree or creating an output file).


startElement

public void startElement(java.lang.String name,
                         org.xml.sax.AttributeList atts)
Description copied from class: org.xml.sax.HandlerBase
Receive notification of the start of an element.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each element (such as allocating a new tree node or writing output to a file).