|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.semanticdesktop.aperture.util.SimpleSAXAdapter
public class SimpleSAXAdapter
An implementation of SimpleSAXListener providing dummy implementations for all its methods.
Constructor Summary | |
---|---|
SimpleSAXAdapter()
|
Method Summary | |
---|---|
void |
endDocument()
Notifies the listener that the parser has finished parsing. |
void |
endTag(String tagName)
Reports an end tag to the listener. |
void |
startDocument()
Notifies the listener that the parser has started parsing. |
void |
startTag(String tagName,
Map atts,
String text)
Reports a start tag to the listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleSAXAdapter()
Method Detail |
---|
public void startDocument() throws SAXException
SimpleSAXListener
startDocument
in interface SimpleSAXListener
SAXException
public void endDocument() throws SAXException
SimpleSAXListener
endDocument
in interface SimpleSAXListener
SAXException
public void startTag(String tagName, Map atts, String text) throws SAXException
SimpleSAXListener
startTag
in interface SimpleSAXListener
tagName
- The tag name.atts
- A map containing key-value-pairs representing the attributes that were found in the
start tag.text
- The text immediately following the start tag, or an empty string if the start tag was
followed by a nested start tag or if no text (other than whitespace) was found between
start- and end tag.
SAXException
public void endTag(String tagName) throws SAXException
SimpleSAXListener
endTag
in interface SimpleSAXListener
tagName
- The tag name.
SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |