public final class AliasOptions extends Options
| Modifier and Type | Field and Description | 
|---|---|
static int |  
           PROP_ARRAY 
            
              The actual is an unordered array, the alias is to the first element of the array. 
               |  
          
static int |  
           PROP_ARRAY_ALT_TEXT 
            
              The actual is an alternate text array, the alias is to the 'x-default' element of the array. 
               |  
          
static int |  
           PROP_ARRAY_ALTERNATE 
            
              The actual is an alternate array, the alias is to the first element of the array. 
               |  
          
static int |  
           PROP_ARRAY_ORDERED 
            
              The actual is an ordered array, the alias is to the first element of the array. 
               |  
          
static int |  
           PROP_DIRECT 
            
              This is a direct mapping. 
               |  
          
| Constructor and Description | 
|---|
AliasOptions()  |  
          
AliasOptions(int options)  |  
          
| Modifier and Type | Method and Description | 
|---|---|
protected String |  
           defineOptionName(int option) 
            
              To be implemeted by inheritants. 
               |  
          
protected int |  
           getValidOptions() 
            
              To be implemeted by inheritants. 
               |  
          
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()  |  
          
assertConsistency, clear, containsAllOptions, containsOneOf, equals, getOption, getOptions, getOptionsString, hashCode, isExactly, setOption, setOptions, toStringpublic 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
public AliasOptions()
Options.Options() 
           public AliasOptions(int options)
             throws XMPException 
          options - the options to init with 
           XMPException - If options are not consistant 
           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. 
           protected String defineOptionName(int option)
Options 
          defineOptionName in class Options 
           option - a single, valid option bit. 
           Options.defineOptionName(int) 
           protected int getValidOptions()
Options 
          getValidOptions in class Options 
           Options.getValidOptions() 
           Copyright © 1998–2019. All rights reserved.