public static enum AccessorFn.Component extends Enum<AccessorFn.Component>
Enum Constant and Description |
---|
DAY |
HOURS |
LOCALNAME |
MICROSECONDS |
MINUTES |
MONTH |
NAMESPACE |
PREFIX |
SECONDS |
TIMEZONE |
WHOLE_SECONDS |
YEAR |
YEAR_ALLOWING_ZERO |
Modifier and Type | Method and Description |
---|---|
static AccessorFn.Component |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessorFn.Component[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessorFn.Component YEAR
public static final AccessorFn.Component MONTH
public static final AccessorFn.Component DAY
public static final AccessorFn.Component HOURS
public static final AccessorFn.Component MINUTES
public static final AccessorFn.Component SECONDS
public static final AccessorFn.Component TIMEZONE
public static final AccessorFn.Component LOCALNAME
public static final AccessorFn.Component NAMESPACE
public static final AccessorFn.Component PREFIX
public static final AccessorFn.Component MICROSECONDS
public static final AccessorFn.Component WHOLE_SECONDS
public static final AccessorFn.Component YEAR_ALLOWING_ZERO
public static AccessorFn.Component[] values()
for (AccessorFn.Component c : AccessorFn.Component.values()) System.out.println(c);
public static AccessorFn.Component valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.