|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.mit.jverbnet.util.parse.TaggedBlockTaskHandlerAdapter
public class TaggedBlockTaskHandlerAdapter
A default implementation of the ITaggedBlockTaskHandler
interface, that does nothing.
Constructor Summary | |
---|---|
protected |
TaggedBlockTaskHandlerAdapter()
The constructor is marked protected so that this class may be subclassed, but not directly instantiated. |
Method Summary | |
---|---|
void |
endTaggedBlock(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
This method is used to run when exiting a tagged block. |
static TaggedBlockTaskHandlerAdapter |
getInstance()
Returns the singleton instance of this object, creating it if necessary. |
void |
startTaggedBlock(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attrs)
This method is used to run code when entering a tagged block. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected TaggedBlockTaskHandlerAdapter()
Method Detail |
---|
public static TaggedBlockTaskHandlerAdapter getInstance()
public void startTaggedBlock(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
ITaggedBlockTaskHandler
startTaggedBlock
in interface ITaggedBlockTaskHandler
uri
- the Namespace URI, or the empty string if the element has no
Namespace URI or if Namespace processing is not being
performedlocalName
- the local name (without prefix), or the empty string if
Namespace processing is not being performedqName
- the qualified name (with prefix), or the empty string if
qualified names are not availableattrs
- the attributes attached to the element. If there are no
attributes, it shall be an empty Attributes object. The value
of this object after startElement returns is undefined
org.xml.sax.SAXException
- any SAX exception, possibly wrapping another exceptionpublic void endTaggedBlock(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
ITaggedBlockTaskHandler
endTaggedBlock
in interface ITaggedBlockTaskHandler
uri
- the Namespace URI, or the empty string if the element has no
Namespace URI or if Namespace processing is not being
performedlocalName
- the local name (without prefix), or the empty string if
Namespace processing is not being performedqName
- the qualified XML name (with prefix), or the empty string if
qualified names are not available
org.xml.sax.SAXException
- any SAX exception, possibly wrapping another exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |