Token.Attribute, Token.EndNode, Token.Formatter, Token.MapIdToValue, Token.StartNode, Token.Value
id, TYPE_ATTRIBUTE, TYPE_END_NODE, TYPE_MAP_ID_TO_VALUE, TYPE_START_NODE, TYPE_VALUE, TYPE_VERSION, value
Constructor and Description |
---|
Attribute() |
Attribute(long id,
String value) |
Modifier and Type | Method and Description |
---|---|
void |
readFrom(DataInput in,
byte idType) |
void |
writeTo(DataOutput out,
byte idType) |
public Attribute(long id, String value)
public Attribute()
public void writeTo(DataOutput out, byte idType) throws IOException
writeTo
in class Token
IOException
public void readFrom(DataInput in, byte idType) throws IOException
readFrom
in class Token
IOException
Copyright © 2004–2017 XStream. All rights reserved.