com.thoughtworks.xstream.io.binary
Class Token.Attribute

java.lang.Object
  extended by com.thoughtworks.xstream.io.binary.Token
      extended by com.thoughtworks.xstream.io.binary.Token.Attribute
Enclosing class:
Token

public static class Token.Attribute
extends Token


Nested Class Summary
 
Nested classes/interfaces inherited from class com.thoughtworks.xstream.io.binary.Token
Token.Attribute, Token.EndNode, Token.Formatter, Token.MapIdToValue, Token.StartNode, Token.Value
 
Field Summary
 
Fields inherited from class com.thoughtworks.xstream.io.binary.Token
id, TYPE_ATTRIBUTE, TYPE_END_NODE, TYPE_MAP_ID_TO_VALUE, TYPE_START_NODE, TYPE_VALUE, TYPE_VERSION, value
 
Constructor Summary
Token.Attribute()
           
Token.Attribute(long id, java.lang.String value)
           
 
Method Summary
 void readFrom(java.io.DataInput in, byte idType)
           
 void writeTo(java.io.DataOutput out, byte idType)
           
 
Methods inherited from class com.thoughtworks.xstream.io.binary.Token
equals, getId, getType, getValue, hashCode, readId, readString, toString, writeId, writeString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Token.Attribute

public Token.Attribute(long id,
                       java.lang.String value)

Token.Attribute

public Token.Attribute()
Method Detail

writeTo

public void writeTo(java.io.DataOutput out,
                    byte idType)
             throws java.io.IOException
Specified by:
writeTo in class Token
Throws:
java.io.IOException

readFrom

public void readFrom(java.io.DataInput in,
                     byte idType)
              throws java.io.IOException
Specified by:
readFrom in class Token
Throws:
java.io.IOException


Copyright © 2004-2011 XStream. All Rights Reserved.