com.gcapmedia.dab.epg.binary
Enum ElementTag

java.lang.Object
  extended by java.lang.Enum<ElementTag>
      extended by com.gcapmedia.dab.epg.binary.ElementTag
All Implemented Interfaces:
Encodable, java.io.Serializable, java.lang.Comparable<ElementTag>

public enum ElementTag
extends java.lang.Enum<ElementTag>
implements Encodable

List all defined tag types as per ETSI TS 101 371 V1.2.1 (2006-02)


Enum Constant Summary
alternateSource
           
bearer
           
CA
           
defaultContentIdElement
           
ensemble
           
epg
          Top level tags
epgLanguage
           
frequency
           
genre
           
keywords
           
link
           
location
           
longDescription
           
longName
           
mediaDescription
           
mediumName
           
memberOf
           
multimedia
           
programme
           
programmeEvent
           
programmeGroup
           
programmeGroups
           
relativeTime
           
schedule
           
scope
           
service
           
serviceID
           
serviceInformation
           
serviceScope
           
shortDescription
           
shortName
           
simulcast
           
time
           
tokenTableElement
          Subtags
 
Method Summary
static ElementTag fromBytes(byte[] bytes)
          Parse an object from its byte array representation
 byte[] getBytes()
           
 int getLength()
           
static ElementTag valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ElementTag[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

epg

public static final ElementTag epg
Top level tags


serviceInformation

public static final ElementTag serviceInformation

tokenTableElement

public static final ElementTag tokenTableElement
Subtags


defaultContentIdElement

public static final ElementTag defaultContentIdElement

shortName

public static final ElementTag shortName

mediumName

public static final ElementTag mediumName

longName

public static final ElementTag longName

mediaDescription

public static final ElementTag mediaDescription

genre

public static final ElementTag genre

CA

public static final ElementTag CA

keywords

public static final ElementTag keywords

memberOf

public static final ElementTag memberOf

link

public static final ElementTag link

location

public static final ElementTag location

shortDescription

public static final ElementTag shortDescription

longDescription

public static final ElementTag longDescription

programme

public static final ElementTag programme

programmeGroups

public static final ElementTag programmeGroups

schedule

public static final ElementTag schedule

alternateSource

public static final ElementTag alternateSource

programmeGroup

public static final ElementTag programmeGroup

scope

public static final ElementTag scope

serviceScope

public static final ElementTag serviceScope

ensemble

public static final ElementTag ensemble

frequency

public static final ElementTag frequency

service

public static final ElementTag service

serviceID

public static final ElementTag serviceID

epgLanguage

public static final ElementTag epgLanguage

multimedia

public static final ElementTag multimedia

time

public static final ElementTag time

bearer

public static final ElementTag bearer

programmeEvent

public static final ElementTag programmeEvent

relativeTime

public static final ElementTag relativeTime

simulcast

public static final ElementTag simulcast
Method Detail

values

public static ElementTag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ElementTag c : ElementTag.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ElementTag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getBytes

public byte[] getBytes()
Specified by:
getBytes in interface Encodable
Returns:
Returns the data as bytes
See Also:
Encodable.getBytes()

getLength

public int getLength()
Specified by:
getLength in interface Encodable
Returns:
Returns the length of this data
See Also:
Encodable.getLength()

fromBytes

public static ElementTag fromBytes(byte[] bytes)
Parse an object from its byte array representation

Parameters:
parent - Tag parent
bytes - Byte array representation


Copyright © 2007. All Rights Reserved.