| java.lang.Object com.thoughtworks.xstream.io.binary.Token
Token | abstract public class Token (Code) | | Represents the Tokens stored in the binary stream used by
BinaryStreamReader and
BinaryStreamWriter .
A token consists of a type and (depending on this type)
it may additionally have an ID (positive long number)
and/or a value (String).
The first byte of the token represents how many subsequent
bytes are used by the ID.
author: Joe Walnes See Also: BinaryStreamReader See Also: BinaryStreamWriter since: 1.2 |
Inner Class :public static class Formatter | |
Inner Class :public static class MapIdToValue extends Token | |
Inner Class :public static class StartNode extends Token | |
Inner Class :public static class EndNode extends Token | |
Inner Class :public static class Attribute extends Token | |
Inner Class :public static class Value extends Token | |
Constructor Summary | |
public | Token(byte type) |
TYPE_ATTRIBUTE | final public static byte TYPE_ATTRIBUTE(Code) | | |
TYPE_END_NODE | final public static byte TYPE_END_NODE(Code) | | |
TYPE_MAP_ID_TO_VALUE | final public static byte TYPE_MAP_ID_TO_VALUE(Code) | | |
TYPE_START_NODE | final public static byte TYPE_START_NODE(Code) | | |
TYPE_VALUE | final public static byte TYPE_VALUE(Code) | | |
TYPE_VERSION | final public static byte TYPE_VERSION(Code) | | |
Token | public Token(byte type)(Code) | | |
getId | public long getId()(Code) | | |
getType | public byte getType()(Code) | | |
hashCode | public int hashCode()(Code) | | |
|
|