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

Quick Search    Search Deep

org.media.datastore.sepengine.util
Class TreeAnalyzer  view TreeAnalyzer download TreeAnalyzer.java

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byorg.media.datastore.sepengine.util.TreeAnalyzer
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class TreeAnalyzer
extends org.xml.sax.helpers.DefaultHandler

Version:
$Revision: 1.9 $ $Date: 2001/08/21 15:00:00

Field Summary
private  java.lang.String errorMsg
           
private  java.lang.String parent
           
private  org.media.datastore.sepengine.TreeInfo tInfo
           
 
Constructor Summary
  TreeAnalyzer()
           
protected TreeAnalyzer(org.media.datastore.sepengine.TreeInfo info)
           
 
Method Summary
 void characters(char[] ch, int start, int length)
          Receive notification of character data inside an element.
 void endElement(java.lang.String uri, java.lang.String name, java.lang.String qname)
          Receive notification of the end of an element.
 java.lang.String getErrorMSG()
           
 org.media.datastore.sepengine.TreeInfo getTreeInfo(java.io.InputStream src, org.media.datastore.sepengine.TreeInfo info)
           
 void ignorableWhitespace(char[] ch, int start, int length)
          Receive notification of ignorable whitespace in element content.
 void startElement(java.lang.String uri, java.lang.String name, java.lang.String qname, org.xml.sax.Attributes attrs)
          Receive notification of the start of an element.
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tInfo

private org.media.datastore.sepengine.TreeInfo tInfo

errorMsg

private java.lang.String errorMsg

parent

private java.lang.String parent
Constructor Detail

TreeAnalyzer

public TreeAnalyzer()

TreeAnalyzer

protected TreeAnalyzer(org.media.datastore.sepengine.TreeInfo info)
Method Detail

getErrorMSG

public java.lang.String getErrorMSG()

getTreeInfo

public org.media.datastore.sepengine.TreeInfo getTreeInfo(java.io.InputStream src,
                                                          org.media.datastore.sepengine.TreeInfo info)

startElement

public void startElement(java.lang.String uri,
                         java.lang.String name,
                         java.lang.String qname,
                         org.xml.sax.Attributes attrs)
                  throws org.xml.sax.SAXException
Description copied from class: org.xml.sax.helpers.DefaultHandler
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).


endElement

public void endElement(java.lang.String uri,
                       java.lang.String name,
                       java.lang.String qname)
                throws org.xml.sax.SAXException
Description copied from class: org.xml.sax.helpers.DefaultHandler
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).


characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
Description copied from class: org.xml.sax.helpers.DefaultHandler
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).


ignorableWhitespace

public void ignorableWhitespace(char[] ch,
                                int start,
                                int length)
                         throws org.xml.sax.SAXException
Description copied from class: org.xml.sax.helpers.DefaultHandler
Receive notification of ignorable whitespace in element content.

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