lux.index
Enum FieldName

java.lang.Object
  extended by java.lang.Enum<FieldName>
      extended by lux.index.FieldName
All Implemented Interfaces:
Serializable, Comparable<FieldName>

public enum FieldName
extends Enum<FieldName>


Enum Constant Summary
ATT_QNAME
           
ATTRIBUTE_TEXT
           
ELEMENT_TEXT
           
ELT_QNAME
           
PATH
           
PATH_VALUE
           
QNAME_VALUE
           
URI
           
XML_STORE
           
XML_TEXT
           
 
Method Summary
 FieldDefinition getField()
           
static FieldName valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FieldName[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

URI

public static final FieldName URI

XML_STORE

public static final FieldName XML_STORE

ELT_QNAME

public static final FieldName ELT_QNAME

ATT_QNAME

public static final FieldName ATT_QNAME

PATH

public static final FieldName PATH

PATH_VALUE

public static final FieldName PATH_VALUE

QNAME_VALUE

public static final FieldName QNAME_VALUE

ELEMENT_TEXT

public static final FieldName ELEMENT_TEXT

ATTRIBUTE_TEXT

public static final FieldName ATTRIBUTE_TEXT

XML_TEXT

public static final FieldName XML_TEXT
Method Detail

values

public static FieldName[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FieldName c : FieldName.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FieldName valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getField

public FieldDefinition getField()


Copyright © 2013. All Rights Reserved.