|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ocap.hn.content.MetadataIdentifiers
public abstract class MetadataIdentifiers
This abstract class represents access to standardized metadata identifiers.
Each identifier, e.g. "title", can be used to search for corresponding
metadata in a ContentList. The set of identifiers returned by the
#getIdentifiers method SHALL contain the PROPRIETARY_DATA
identifier and MAY contain identifiers defined in other OCAP HN profiles,
e.g. UPnP.
Field Summary | |
---|---|
static String |
PROPRIETARY_DATA
This identifies proprietary data. |
Constructor Summary | |
---|---|
MetadataIdentifiers()
|
Method Summary | |
---|---|
static boolean |
contains(String identifier)
Indicates if the parameter identifier is contained within the set of supported identifiers. |
static String[] |
getIdentifiers()
Gets all metadata identifiers for all HN profiles supported by this Host device. |
static int |
getNumberOfIdentifiers()
Gets the number of identifiers in the set of supported identifiers returned by the #getIdentifiers method. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROPRIETARY_DATA
The value of this field is an OCAP defined string
"ocap:proprietaryData"
. If the proprietary data is an
array of bytes the data should be transported as a base 64 String.
Constructor Detail |
---|
public MetadataIdentifiers()
Method Detail |
---|
public static String[] getIdentifiers()
public static int getNumberOfIdentifiers()
public static boolean contains(String identifier)
identifier
- Name of the identifier to search for.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |