| java.lang.Object com.jclark.xml.tok.Token com.jclark.xml.tok.ContentToken
All known Subclasses: com.jclark.xml.parse.EntityParser,
ContentToken | public class ContentToken extends Token (Code) | | Represents information returned by Encoding.tokenizeContent .
See Also: Encoding.tokenizeContent version: $Revision: 1.3 $ $Date: 1998/02/17 04:23:51 $ |
Method Summary | |
final void | appendAttribute(int nameStart, int nameEnd, int valueStart, int valueEnd, boolean normalized) | final void | checkAttributeUniqueness(byte[] buf) | final void | clearAttributes() | final public int | getAttributeNameEnd(int i) Returns the index following the last character of the name of the
attribute index i . | final public int | getAttributeNameStart(int i) Returns the index of the first character of the name of the
attribute index i . | final public int | getAttributeSpecifiedCount() Returns the number of attributes specified in the start-tag
or empty element tag. | final public int | getAttributeValueEnd(int i) Returns the index of the closing quote attribute index i . | final public int | getAttributeValueStart(int i) Returns the index of the character following the opening quote of
attribute index i . | final public boolean | isAttributeNormalized(int i) Returns true if attribute index i does not need to
be normalized. |
appendAttribute | final void appendAttribute(int nameStart, int nameEnd, int valueStart, int valueEnd, boolean normalized)(Code) | | |
clearAttributes | final void clearAttributes()(Code) | | |
getAttributeNameEnd | final public int getAttributeNameEnd(int i)(Code) | | Returns the index following the last character of the name of the
attribute index i .
|
getAttributeNameStart | final public int getAttributeNameStart(int i)(Code) | | Returns the index of the first character of the name of the
attribute index i .
|
getAttributeSpecifiedCount | final public int getAttributeSpecifiedCount()(Code) | | Returns the number of attributes specified in the start-tag
or empty element tag.
|
getAttributeValueEnd | final public int getAttributeValueEnd(int i)(Code) | | Returns the index of the closing quote attribute index i .
|
getAttributeValueStart | final public int getAttributeValueStart(int i)(Code) | | Returns the index of the character following the opening quote of
attribute index i .
|
isAttributeNormalized | final public boolean isAttributeNormalized(int i)(Code) | | Returns true if attribute index i does not need to
be normalized. This is an optimization that allows further processing
of the attribute to be avoided when it is known that normalization
cannot change the value of the attribute.
|
|
|