|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EnumType>
com.gcapmedia.dab.epg.binary.EnumType
public enum EnumType
Enumeration for enum types, confusingly enough. TODO need to work a mechanism for creating and parsing of default values.
Method Summary | |
---|---|
static EnumType |
fromByte(AttributeTag parent,
byte value)
Parse an object from its byte array representation |
byte[] |
getBytes()
|
int |
getLength()
|
AttributeTag |
getParent()
|
int |
getValue()
|
static EnumType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EnumType[] |
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 |
---|
public static final EnumType epgSystemDAB
public static final EnumType epgSystemDRM
public static final EnumType programmeGroupTypeSeries
public static final EnumType programmeGroupTypeShow
public static final EnumType programmeGroupTypeProgramConcept
public static final EnumType programmeGroupTypeMagazine
public static final EnumType programmeGroupTypeProgramCompilation
public static final EnumType programmeGroupTypeOtherCollection
public static final EnumType programmeGroupTypeOtherChoice
public static final EnumType programmeGroupTypeTopic
public static final EnumType alternateSourceProtocolURL
public static final EnumType alternateSourceProtocolDAB
public static final EnumType alternateSourceProtocolDRN
public static final EnumType alternateSourceTypeIdentical
public static final EnumType alternateSourceTypeMore
public static final EnumType alternateSourceTypeLess
public static final EnumType alternateSourceTypeSimilar
public static final EnumType frequencyTypePrimary
public static final EnumType frequencyTypeSecondary
public static final EnumType serviceFormatAudio
public static final EnumType serviceFormatDLS
public static final EnumType serviceFormatMOTSlideshow
public static final EnumType serviceFormatMOTBWS
public static final EnumType serviceFormatTPEG
public static final EnumType serviceFormatDGPS
public static final EnumType serviceFormatProprietary
public static final EnumType serviceIDTypePrimary
public static final EnumType serviceIDTypeSecondary
public static final EnumType CATypeNone
public static final EnumType CATypeUnspecified
public static final EnumType programmeBroadcastOnair
public static final EnumType programmeBroadcastOffair
public static final EnumType programmeEventBroadcastOnair
public static final EnumType programmeEventBroadcastOffair
public static final EnumType programmeRecommendationNo
public static final EnumType programmeRecommendationYes
public static final EnumType programmeEventRecommendationNo
public static final EnumType programmeEventRecommendationYes
public static final EnumType multimediaTypeLogoUnrestricted
public static final EnumType multimediaTypeLogoMonoSquare
public static final EnumType multimediaTypeLogoColourSquare
public static final EnumType multimediaTypeLogoMonoRectangle
public static final EnumType multimediaTypeLogoColourRectangle
public static final EnumType genreTypeMain
public static final EnumType genreTypeSecondary
public static final EnumType genreTypeOther
Method Detail |
---|
public static EnumType[] values()
for (EnumType c : EnumType.values()) System.out.println(c);
public static EnumType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic AttributeTag getParent()
public int getValue()
public byte[] getBytes()
getBytes
in interface Encodable
Encodable.getBytes()
public int getLength()
getLength
in interface Encodable
Encodable.getLength()
public static EnumType fromByte(AttributeTag parent, byte value)
parent
- Tag parentbytes
- Byte array representation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |