public static enum AccessorFn.Component extends java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.