|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.helpers.DefaultHandler pt.tumba.parser.swf.SaxHandlerBase
public abstract class SaxHandlerBase
Base class for SAX2 Content Handlers
Nested Class Summary | |
---|---|
static class |
SaxHandlerBase.ContentElementType
Description of the Class |
static class |
SaxHandlerBase.ElementType
Description of the Class |
static class |
SaxHandlerBase.GatheringElementType
Description of the Class |
Field Summary | |
---|---|
protected java.util.Map |
elementTypes
Description of the Field |
protected java.util.List |
elems
Description of the Field |
protected SaxHandlerBase.ElementType |
elemType
Description of the Field |
protected java.util.List |
gatherBuffer
Description of the Field |
protected SaxHandlerBase.GatheringElementType |
gatheringElement
Description of the Field |
protected boolean |
gatherMode
Description of the Field |
Constructor Summary | |
---|---|
SaxHandlerBase()
|
Method Summary | |
---|---|
void |
characters(char[] ch,
int start,
int length)
Description of the Method |
void |
dispatchAllMatchingGatheredElements(java.lang.String elemName)
Description of the Method |
void |
dispatchGatheredElement(java.lang.String elemName)
Description of the Method |
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
Description of the Method |
void |
endGatherMode()
Description of the Method |
static java.lang.String |
getAttr(org.xml.sax.Attributes attrs,
java.lang.String name,
java.lang.String defaultValue)
Gets the attr attribute of the SaxHandlerBase class |
static boolean |
getAttrBool(org.xml.sax.Attributes attrs,
java.lang.String name,
boolean defaultValue)
Gets the attrBool attribute of the SaxHandlerBase class |
static double |
getAttrDouble(org.xml.sax.Attributes attrs,
java.lang.String name,
double defaultValue)
Gets the attrDouble attribute of the SaxHandlerBase class |
static int |
getAttrInt(org.xml.sax.Attributes attrs,
java.lang.String name,
int defaultValue)
Gets the attrInt attribute of the SaxHandlerBase class |
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
Description of the Method |
void |
startGatherMode(SaxHandlerBase.GatheringElementType elem)
Description of the Method |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, 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 |
---|
protected java.util.Map elementTypes
protected SaxHandlerBase.ElementType elemType
protected java.util.List elems
protected boolean gatherMode
protected java.util.List gatherBuffer
protected SaxHandlerBase.GatheringElementType gatheringElement
Constructor Detail |
---|
public SaxHandlerBase()
Method Detail |
---|
public void startGatherMode(SaxHandlerBase.GatheringElementType elem)
elem
- Description of the Parameterpublic void endGatherMode() throws java.lang.Exception
java.lang.Exception
- Description of the Exceptionpublic void dispatchAllMatchingGatheredElements(java.lang.String elemName) throws java.lang.Exception
elemName
- Description of the Parameter
java.lang.Exception
- Description of the Exceptionpublic void dispatchGatheredElement(java.lang.String elemName) throws java.lang.Exception
elemName
- Description of the Parameter
java.lang.Exception
- Description of the Exceptionpublic void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
namespaceURI
- Description of the ParameterlocalName
- Description of the ParameterqName
- Description of the Parameteratts
- Description of the Parameter
org.xml.sax.SAXException
- Description of the Exceptionpublic void endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
namespaceURI
- Description of the ParameterlocalName
- Description of the ParameterqName
- Description of the Parameter
org.xml.sax.SAXException
- Description of the Exceptionpublic void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
ch
- Description of the Parameterstart
- Description of the Parameterlength
- Description of the Parameter
org.xml.sax.SAXException
- Description of the Exceptionpublic static java.lang.String getAttr(org.xml.sax.Attributes attrs, java.lang.String name, java.lang.String defaultValue)
attrs
- Description of the Parametername
- Description of the ParameterdefaultValue
- Description of the Parameter
public static int getAttrInt(org.xml.sax.Attributes attrs, java.lang.String name, int defaultValue)
attrs
- Description of the Parametername
- Description of the ParameterdefaultValue
- Description of the Parameter
public static double getAttrDouble(org.xml.sax.Attributes attrs, java.lang.String name, double defaultValue)
attrs
- Description of the Parametername
- Description of the ParameterdefaultValue
- Description of the Parameter
public static boolean getAttrBool(org.xml.sax.Attributes attrs, java.lang.String name, boolean defaultValue)
attrs
- Description of the Parametername
- Description of the ParameterdefaultValue
- Description of the Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |