net.sf.saxon.functions
public class Component extends SystemFunction
Field Summary | |
---|---|
int | component |
static int | DAY |
static int | HOURS |
static int | LOCALNAME |
static int | MICROSECONDS |
static int | MINUTES |
static int | MONTH |
static int | NAMESPACE |
static int | PREFIX |
static int | SECONDS |
static int | TIMEZONE |
static int | WHOLE_SECONDS |
static int | YEAR |
static int | YEAR_ALLOWING_ZERO |
Method Summary | |
---|---|
Expression | copy()
Copy an expression. |
Item | evaluateItem(XPathContext context)
Evaluate the expression |
int | getRequiredComponent()
Get the required component |
String | getRequiredComponentAsString()
Get the required component name as a string |
Expression | simplify(ExpressionVisitor visitor) |
Returns: the copy of the original expression