Package org.bedework.util.calendar
Enum PropertyIndex.ComponentInfoIndex
- java.lang.Object
-
- java.lang.Enum<PropertyIndex.ComponentInfoIndex>
-
- org.bedework.util.calendar.PropertyIndex.ComponentInfoIndex
-
- All Implemented Interfaces:
Serializable,Comparable<PropertyIndex.ComponentInfoIndex>
- Enclosing class:
- PropertyIndex
public static enum PropertyIndex.ComponentInfoIndex extends Enum<PropertyIndex.ComponentInfoIndex>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertyIndex.ComponentInfoIndexfromXmlClass(Class cl)get the index given the XML classStringgetJname()get the java style nameStringgetPname()get the property nameStringgetPnameLC()get the property name lower casedQNamegetQname()get the qnameClassgetXmlClass()get the XML classstatic PropertyIndex.ComponentInfoIndexlookupPname(String val)get the index given the property namestatic PropertyIndex.ComponentInfoIndexlookupQname(QName val)get the index given the qnamestatic PropertyIndex.ComponentInfoIndexvalueOf(String name)Returns the enum constant of this type with the specified name.static PropertyIndex.ComponentInfoIndex[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_COMPONENT
public static final PropertyIndex.ComponentInfoIndex UNKNOWN_COMPONENT
-
VALARM
public static final PropertyIndex.ComponentInfoIndex VALARM
-
VEVENT
public static final PropertyIndex.ComponentInfoIndex VEVENT
-
VFREEBUSY
public static final PropertyIndex.ComponentInfoIndex VFREEBUSY
-
VJOURNAL
public static final PropertyIndex.ComponentInfoIndex VJOURNAL
-
VTIMEZONE
public static final PropertyIndex.ComponentInfoIndex VTIMEZONE
-
VTODO
public static final PropertyIndex.ComponentInfoIndex VTODO
-
-
Method Detail
-
values
public static PropertyIndex.ComponentInfoIndex[] 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 (PropertyIndex.ComponentInfoIndex c : PropertyIndex.ComponentInfoIndex.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyIndex.ComponentInfoIndex 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 nameNullPointerException- if the argument is null
-
getQname
public QName getQname()
get the qname- Returns:
- qname
-
getPname
public String getPname()
get the property name- Returns:
- property name
-
getJname
public String getJname()
get the java style name- Returns:
- parameter name
-
getPnameLC
public String getPnameLC()
get the property name lower cased- Returns:
- property name
-
getXmlClass
public Class getXmlClass()
get the XML class- Returns:
- class
-
fromXmlClass
public static PropertyIndex.ComponentInfoIndex fromXmlClass(Class cl)
get the index given the XML class- Parameters:
cl- the class- Returns:
- ComponentInfoIndex
-
lookupPname
public static PropertyIndex.ComponentInfoIndex lookupPname(String val)
get the index given the property name- Parameters:
val- the name- Returns:
- ComponentInfoIndex
-
lookupQname
public static PropertyIndex.ComponentInfoIndex lookupQname(QName val)
get the index given the qname- Parameters:
val- the qname- Returns:
- ComponentInfoIndex
-
-