Package com.adobe.xmp.schema.model.rules
Class Vocable
- java.lang.Object
-
- com.adobe.xmp.schema.model.rules.Vocable
-
- All Implemented Interfaces:
java.io.Serializable
public class Vocable extends java.lang.Object implements java.io.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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Vocable.Type
Types of vocabulary
-
Constructor Summary
Constructors Constructor Description Vocable(java.lang.Object xmpValue, java.lang.String label)
Constructs a new Vocable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLabel()
java.lang.Object
getXmpValue()
-