Package com.adobe.xmp.schema.model.rules
Class Vocable
java.lang.Object
com.adobe.xmp.schema.model.rules.Vocable
- All Implemented Interfaces:
Serializable
A vocable is one item that is part of the OpenChoice and ClosedChoice rules.
It consists of an XMP value (that can be any Object and has to be interpreted
by the client) and a label for the UI.
Currently Vocables can be of the types
- XMP Type --> Java Type
- Text --> String
- Integer --> Long
- Real --> Double
- Boolean --> Boolean
- Date --> ISO8601 String
- TODO: Fixed Array of Integers for some Exif special cases
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Vocable
Constructs a new Vocable.- Parameters:
xmpValue
- the XMP value of the vocablelabel
- the display label of the vocable
-
-
Method Details
-
getXmpValue
- Returns:
- Returns the XMP value
-
getLabel
- Returns:
- Returns the value.
-