uci.xml
Class SAXParserBase

uci.xml.SAXParserBase
Direct Known Subclasses:
ArgoParser, XMIParserBase

public abstract class SAXParserBase


Field Summary
protected static boolean _dbg
           
protected static String _returnString
           
protected  boolean _startElement
           
protected static boolean _verbose
           
 
Constructor Summary
SAXParserBase()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 void endElement(String name)
           
 long getParseTime()
           
 boolean getStats()
           
protected abstract  void handleEndElement(XMLElement e)
           
protected abstract  void handleStartElement(XMLElement e)
           
 void ignoreElement(XMLElement e)
           
 void notImplemented(XMLElement e)
           
 void parse(URL url)
           
 uci.xml.InputSource resolveEntity(String publicId, String systemId)
           
 void setDebug(boolean debug)
           
 void setStats(boolean stats)
           
 void startElement(String name, uci.xml.AttributeList atts)
           
 

Field Detail

_returnString

protected static final String _returnString

_dbg

protected static boolean _dbg

_verbose

protected static boolean _verbose

_startElement

protected boolean _startElement
Constructor Detail

SAXParserBase

public SAXParserBase()
Method Detail

setDebug

public void setDebug(boolean debug)

setStats

public void setStats(boolean stats)

getStats

public boolean getStats()

getParseTime

public long getParseTime()

parse

public void parse(URL url)
           throws Exception

handleStartElement

protected abstract void handleStartElement(XMLElement e)

handleEndElement

protected abstract void handleEndElement(XMLElement e)

startElement

public void startElement(String name,
                         uci.xml.AttributeList atts)
                  throws org.xml.sax.SAXException

endElement

public void endElement(String name)
                throws org.xml.sax.SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException

resolveEntity

public uci.xml.InputSource resolveEntity(String publicId,
                                         String systemId)

ignoreElement

public void ignoreElement(XMLElement e)

notImplemented

public void notImplemented(XMLElement e)