org.nuiton.wikitty.search.operators
Enum Element.ElementType
java.lang.Object
java.lang.Enum<Element.ElementType>
org.nuiton.wikitty.search.operators.Element.ElementType
- All Implemented Interfaces:
- Serializable, Comparable<Element.ElementType>
- Enclosing class:
- Element
public static enum Element.ElementType
- extends Enum<Element.ElementType>
Represent type to search an element
BINARY
public static final Element.ElementType BINARY
NUMERIC
public static final Element.ElementType NUMERIC
STRING
public static final Element.ElementType STRING
WIKITTY
public static final Element.ElementType WIKITTY
BOOLEAN
public static final Element.ElementType BOOLEAN
DATE
public static final Element.ElementType DATE
values
public static Element.ElementType[] 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 (Element.ElementType c : Element.ElementType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Element.ElementType 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
Copyright © 2009-2012 CodeLutin. All Rights Reserved.