|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tv.amwa.maj.meta.MetaDefinition tv.amwa.maj.meta.TypeDefinition tv.amwa.maj.meta.TypeDefinitionObjectReference tv.amwa.maj.meta.TypeDefinitionObjectReference.TypeDefinitionObjectReferenceUnresolved
public static class TypeDefinitionObjectReference.TypeDefinitionObjectReferenceUnresolved
Nested Class Summary |
---|
Nested classes/interfaces inherited from class tv.amwa.maj.meta.TypeDefinitionObjectReference |
---|
TypeDefinitionObjectReference.ObjectReferenceValue, TypeDefinitionObjectReference.TypeDefinitionObjectReferenceUnresolved |
Method Summary | |
---|---|
PropertyValue |
createValue(Object javaValue)
Create a property value from the given Java object. |
AUID |
getIdentification()
|
String |
getSymbolName()
Create an XML symbol name from the name of this definition. |
TypeCategory |
getTypeCategory()
Returns the type category to which this type definition belongs, which corresponds to its sub interface. |
String |
toString()
Create and return a human-readable string representation of this embeddable value. |
Methods inherited from class tv.amwa.maj.meta.TypeDefinitionObjectReference |
---|
appendXMLChildren, deepEquals, getObject, getObjectType, setObject, setPropertiesFromInterface |
Methods inherited from class tv.amwa.maj.meta.TypeDefinition |
---|
setPropertiesFromInterface |
Methods inherited from class tv.amwa.maj.meta.MetaDefinition |
---|
castFromInterface, equals, getAUID, getDescription, getName, hashCode, setDescription, setName, setPropertiesFromInterface |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface tv.amwa.maj.iface.MetaDefinition |
---|
getAUID, getDescription, getName, setDescription, setName |
Methods inherited from interface tv.amwa.maj.meta.MAJCommon |
---|
equals, hashCode |
Method Detail |
---|
public PropertyValue createValue(Object javaValue) throws ClassCastException
TypeDefinition
Create a property value from the given Java object. If the type of
the object is not compatible with this type definition, a ClassCastException
is thrown.
createValue
in interface TypeDefinition
createValue
in interface TypeDefinitionObjectReference
createValue
in class TypeDefinitionObjectReference
javaValue
- Java object to use to create a property value of this type.
ClassCastException
- The given object cannot be cast to a property value with
this type definition.TypeDefinitionObjectReference.setObject(PropertyValue, Object)
public TypeCategory getTypeCategory()
TypeDefinition
Returns the type category to which this type definition belongs, which
corresponds to its sub interface. For example, TypeCategory.Int
is returned for a TypeDefinitionInteger
.
getTypeCategory
in interface TypeDefinition
getTypeCategory
in class TypeDefinition
TypeCategory
public AUID getIdentification()
getIdentification
in class MetaDefinition
public String getSymbolName()
MetaDefinition
Create an XML symbol name from the name of this definition. All non-word characters
are replaced by underbar characers "_
".
public String toString()
MAJCommon
Create and return a human-readable string representation of this embeddable value.
toString
in interface MAJCommon
toString
in class MetaDefinition
Object.toString()
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |