| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.adobe.xmp.options.Options
com.adobe.xmp.options.AliasOptions
public final class AliasOptions
Options for XMPSchemaRegistryImpl#registerAlias.
| Field Summary | |
|---|---|
| static int | PROP_ARRAYThe actual is an unordered array, the alias is to the first element of the array. | 
| static int | PROP_ARRAY_ALT_TEXTThe actual is an alternate text array, the alias is to the 'x-default' element of the array. | 
| static int | PROP_ARRAY_ALTERNATEThe actual is an alternate array, the alias is to the first element of the array. | 
| static int | PROP_ARRAY_ORDEREDThe actual is an ordered array, the alias is to the first element of the array. | 
| static int | PROP_DIRECTThis is a direct mapping. | 
| Constructor Summary | |
|---|---|
| AliasOptions() | |
| AliasOptions(int options) | |
| Method Summary | |
|---|---|
|  boolean | isArray() | 
|  boolean | isArrayAlternate() | 
|  boolean | isArrayAltText() | 
|  boolean | isArrayOrdered() | 
|  boolean | isSimple() | 
|  AliasOptions | setArray(boolean value) | 
|  AliasOptions | setArrayAlternate(boolean value) | 
|  AliasOptions | setArrayAltText(boolean value) | 
|  AliasOptions | setArrayOrdered(boolean value) | 
|  PropertyOptions | toPropertyOptions() | 
| Methods inherited from class com.adobe.xmp.options.Options | 
|---|
| clear, containsAllOptions, containsOneOf, equals, getOptions, getOptionsString, hashCode, isExactly, setOption, setOptions, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final int PROP_DIRECT
public static final int PROP_ARRAY
public static final int PROP_ARRAY_ORDERED
public static final int PROP_ARRAY_ALTERNATE
public static final int PROP_ARRAY_ALT_TEXT
| Constructor Detail | 
|---|
public AliasOptions()
Options.Options()
public AliasOptions(int options)
             throws XMPException
options - the options to init with
XMPException - If options are not consistant| Method Detail | 
|---|
public boolean isSimple()
public boolean isArray()
public AliasOptions setArray(boolean value)
value - the value to set
public boolean isArrayOrdered()
public AliasOptions setArrayOrdered(boolean value)
value - the value to set
public boolean isArrayAlternate()
public AliasOptions setArrayAlternate(boolean value)
value - the value to set
public boolean isArrayAltText()
public AliasOptions setArrayAltText(boolean value)
value - the value to set
public PropertyOptions toPropertyOptions()
                                  throws XMPException
PropertyOptionss object
XMPException - If the options are not consistant.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||