public class TagValue
extends java.lang.Object
Utility class for representing tag-value pairs for TagValueParser implementors.
Constructor and Description |
---|
TagValue(java.lang.Object tag,
java.lang.Object value,
boolean newTag)
Build a new TagValue with a tag, a value and a flag indicating if this is a
new example of this tag or a continuation of an old example.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getTag() |
java.lang.Object |
getValue() |
boolean |
isNewTag() |
public TagValue(java.lang.Object tag, java.lang.Object value, boolean newTag)
tag
- the tag Objectvalue
- the value ObjectnewTag
- true if startTag events should be thrown even if the tag is
identical to the previously observed tag