|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--superwaba.ext.xplat.util.xml.XmlListener
Listener that must be extended to process the events thrown by XmlLiteParser. See also superwaba/examples/util/xml for an example.
| Field Summary | |
byte[] |
buffer
Buffer that stores the contents for the current tag/attribute. |
int |
len
Current length of the string |
int |
start
Starting position of the current string in the buffer |
| Constructor Summary | |
XmlListener()
|
|
| Method Summary | |
abstract void |
foundAttributeName()
This is the default method called by parser when an attribute name is found. |
abstract void |
foundAttributeValue()
This is the default method called by parser when an attribute value is found. |
abstract void |
foundContent()
This is the default method called by parser when a content text is found. |
abstract void |
foundEndTagName()
This is the default method called by parser when an end tag name is found. |
abstract void |
foundStartTagName()
This is the default method called by parser when a start tag name is found. |
String |
getString()
Returns the current string being represented in this moment. |
int |
hashCode()
Returns the hashcode for the string in the current tag. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
notify,
toString,
wait,
wait |
| Field Detail |
public byte[] buffer
public int len
public int start
| Constructor Detail |
public XmlListener()
| Method Detail |
public abstract void foundStartTagName()
public abstract void foundAttributeName()
public abstract void foundEndTagName()
public abstract void foundAttributeValue()
public abstract void foundContent()
public String getString()
hashCode method instead.public int hashCode()
equals.
Note that jdk 1.1.x has a different method for computing
the hashcode, comparing with the other jdks (and i can't
guarantee they won't change it in the future!).
This method uses the same one of SuperWaba VM: jdk 1.2.2.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||