|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.parser.swf.SaxParserBase
public abstract class SaxParserBase
Base class for SAX2 Parsers
| Field Summary | |
|---|---|
protected org.xml.sax.ContentHandler |
contenthandler
Description of the Field |
protected org.xml.sax.DTDHandler |
dtdhandler
Description of the Field |
protected java.util.List |
elementStack
Description of the Field |
protected org.xml.sax.ErrorHandler |
errorhandler
Description of the Field |
protected java.lang.String |
namespace
Description of the Field |
protected org.xml.sax.EntityResolver |
resolver
Description of the Field |
| Constructor Summary | |
|---|---|
protected |
SaxParserBase(java.lang.String namespace)
Constructor for the SaxParserBase object |
| Method Summary | |
|---|---|
protected void |
element(java.lang.String name,
java.lang.String[] attributes)
Description of the Method |
protected void |
end()
Description of the Method |
protected void |
endDoc()
Description of the Method |
org.xml.sax.ContentHandler |
getContentHandler()
Gets the contentHandler attribute of the SaxParserBase object |
org.xml.sax.DTDHandler |
getDTDHandler()
Gets the dTDHandler attribute of the SaxParserBase object |
org.xml.sax.EntityResolver |
getEntityResolver()
Gets the entityResolver attribute of the SaxParserBase object |
org.xml.sax.ErrorHandler |
getErrorHandler()
Gets the errorHandler attribute of the SaxParserBase object |
boolean |
getFeature(java.lang.String name)
Gets the feature attribute of the SaxParserBase object |
java.lang.String |
getNamespace()
Gets the namespace attribute of the SaxParserBase object |
java.lang.Object |
getProperty(java.lang.String name)
Gets the property attribute of the SaxParserBase object |
abstract void |
parse(org.xml.sax.InputSource input)
Description of the Method |
abstract void |
parse(java.lang.String systemId)
Description of the Method |
void |
setContentHandler(org.xml.sax.ContentHandler handler)
Sets the contentHandler attribute of the SaxParserBase object |
void |
setDTDHandler(org.xml.sax.DTDHandler handler)
Sets the dTDHandler attribute of the SaxParserBase object |
void |
setEntityResolver(org.xml.sax.EntityResolver resolver)
Sets the entityResolver attribute of the SaxParserBase object |
void |
setErrorHandler(org.xml.sax.ErrorHandler handler)
Sets the errorHandler attribute of the SaxParserBase object |
void |
setFeature(java.lang.String name,
boolean value)
Sets the feature attribute of the SaxParserBase object |
void |
setNamespace(java.lang.String namespace)
Sets the namespace attribute of the SaxParserBase object |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Sets the property attribute of the SaxParserBase object |
protected void |
start(java.lang.String name,
java.lang.String[] attributes)
Description of the Method |
protected void |
startDoc()
Description of the Method |
protected void |
text(java.lang.String text)
Description of the Method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.xml.sax.EntityResolver resolver
protected org.xml.sax.DTDHandler dtdhandler
protected org.xml.sax.ContentHandler contenthandler
protected org.xml.sax.ErrorHandler errorhandler
protected java.util.List elementStack
protected java.lang.String namespace
| Constructor Detail |
|---|
protected SaxParserBase(java.lang.String namespace)
namespace - Description of the Parameter| Method Detail |
|---|
public java.lang.String getNamespace()
public void setNamespace(java.lang.String namespace)
namespace - The new namespace value
protected void startDoc()
throws java.io.IOException
java.io.IOException - Description of the Exception
protected void endDoc()
throws java.io.IOException
java.io.IOException - Description of the Exception
protected void text(java.lang.String text)
throws java.io.IOException
text - Description of the Parameter
java.io.IOException - Description of the Exception
protected void element(java.lang.String name,
java.lang.String[] attributes)
throws java.io.IOException
name - Description of the Parameterattributes - Description of the Parameter
java.io.IOException - Description of the Exception
protected void start(java.lang.String name,
java.lang.String[] attributes)
throws java.io.IOException
name - Description of the Parameterattributes - Description of the Parameter
java.io.IOException - Description of the Exception
protected void end()
throws java.io.IOException
java.io.IOException - Description of the Exception
public boolean getFeature(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
getFeature in interface org.xml.sax.XMLReadername - Description of the Parameter
org.xml.sax.SAXNotRecognizedException - Description of the Exception
org.xml.sax.SAXNotSupportedException - Description of the Exception
public void setFeature(java.lang.String name,
boolean value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
setFeature in interface org.xml.sax.XMLReadername - The new feature valuevalue - The new feature value
org.xml.sax.SAXNotRecognizedException - Description of the Exception
org.xml.sax.SAXNotSupportedException - Description of the Exception
public java.lang.Object getProperty(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
getProperty in interface org.xml.sax.XMLReadername - Description of the Parameter
org.xml.sax.SAXNotRecognizedException - Description of the Exception
org.xml.sax.SAXNotSupportedException - Description of the Exception
public void setProperty(java.lang.String name,
java.lang.Object value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
setProperty in interface org.xml.sax.XMLReadername - The new property valuevalue - The new property value
org.xml.sax.SAXNotRecognizedException - Description of the Exception
org.xml.sax.SAXNotSupportedException - Description of the Exceptionpublic void setEntityResolver(org.xml.sax.EntityResolver resolver)
setEntityResolver in interface org.xml.sax.XMLReaderresolver - The new entityResolver valuepublic org.xml.sax.EntityResolver getEntityResolver()
getEntityResolver in interface org.xml.sax.XMLReaderpublic void setDTDHandler(org.xml.sax.DTDHandler handler)
setDTDHandler in interface org.xml.sax.XMLReaderhandler - The new dTDHandler valuepublic org.xml.sax.DTDHandler getDTDHandler()
getDTDHandler in interface org.xml.sax.XMLReaderpublic void setContentHandler(org.xml.sax.ContentHandler handler)
setContentHandler in interface org.xml.sax.XMLReaderhandler - The new contentHandler valuepublic org.xml.sax.ContentHandler getContentHandler()
getContentHandler in interface org.xml.sax.XMLReaderpublic void setErrorHandler(org.xml.sax.ErrorHandler handler)
setErrorHandler in interface org.xml.sax.XMLReaderhandler - The new errorHandler valuepublic org.xml.sax.ErrorHandler getErrorHandler()
getErrorHandler in interface org.xml.sax.XMLReader
public abstract void parse(org.xml.sax.InputSource input)
throws java.io.IOException,
org.xml.sax.SAXException
parse in interface org.xml.sax.XMLReaderinput - Description of the Parameter
java.io.IOException - Description of the Exception
org.xml.sax.SAXException - Description of the Exception
public abstract void parse(java.lang.String systemId)
throws java.io.IOException,
org.xml.sax.SAXException
parse in interface org.xml.sax.XMLReadersystemId - Description of the Parameter
java.io.IOException - Description of the Exception
org.xml.sax.SAXException - Description of the Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||