|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gcapmedia.dab.epg.binary.Attribute
public class Attribute
Attribute binary encoding
Constructor Summary | |
---|---|
Attribute(AttributeTag tag,
Encodable value)
Create a new attribute |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
static Attribute |
fromBytes(ElementTag parent,
byte[] bytes)
Parse an object from its byte array representation |
static Attribute |
fromBytes(ElementTag parent,
byte[] bytes,
TokenTable tokens)
Parse an object from its byte array representation |
byte[] |
getBytes()
|
int |
getLength()
|
AttributeTag |
getTag()
|
Encodable |
getValue()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Attribute(AttributeTag tag, Encodable value)
tag
- Attribute tagdata
- Attribute valueMethod Detail |
---|
public AttributeTag getTag()
public Encodable getValue()
public byte[] getBytes()
getBytes
in interface Encodable
Encodable.getBytes()
public int getLength()
getLength
in interface Encodable
Encodable.getLength()
public static Attribute fromBytes(ElementTag parent, byte[] bytes)
parent
- Tag parentbytes
- Byte array representationpublic static Attribute fromBytes(ElementTag parent, byte[] bytes, TokenTable tokens)
parent
- Tag parentbytes
- Byte array representationpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |