Modifier and Type | Field and Description |
---|---|
pack-priv static final long |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: true if the expression can be represented as a nodeset.Tell if the expression is a nodeset expression. |
public boolean | Returns: true if traversal outside the context node's subtree can occur.Overrides com. Tell if this expression or it's subexpressions can traverse outside the current subtree. |
public void | checkNumberArgs(int
The number of arguments that is being passed to the function. argNum)Overrides com. Check that the number of arguments passed to this function is correct. |
protected int | Returns: The first node of the executed nodeset, or the current context node if the first argument is null.Runtime XPath context. xctxt)Execute the first argument expression that is expected to return a nodeset. |
protected double | Returns: The number value of the first argument, or the number value of the current context node if the first argument is null.Runtime XPath context. xctxt)Execute the first argument expression that is expected to return a number. |
protected XMLString | Returns: The string value of the first argument, or the string value of the current context node if the first argument is null.Runtime XPath context. xctxt)Execute the first argument expression that is expected to return a string. |
protected void | reportWrongNumberArgs()
Overrides com. Constructs and throws a WrongNumberArgException with the appropriate message for this function object. |
serialVersionUID | back to summary |
---|---|
pack-priv static final long serialVersionUID Hides com. |
FunctionDef1Arg | back to summary |
---|---|
public FunctionDef1Arg() |
Arg0IsNodesetExpr | back to summary |
---|---|
public boolean Arg0IsNodesetExpr() Tell if the expression is a nodeset expression.
|
canTraverseOutsideSubtree | back to summary |
---|---|
public boolean canTraverseOutsideSubtree() Overrides com. Tell if this expression or it's subexpressions can traverse outside the current subtree.
|
checkNumberArgs | back to summary |
---|---|
public void checkNumberArgs(int argNum) throws WrongNumberArgsException Overrides com. Check that the number of arguments passed to this function is correct.
|
getArg0AsNode | back to summary |
---|---|
protected int getArg0AsNode(XPathContext xctxt) throws TransformerException Execute the first argument expression that is expected to return a nodeset. If the argument is null, then return the current context node.
|
getArg0AsNumber | back to summary |
---|---|
protected double getArg0AsNumber(XPathContext xctxt) throws TransformerException Execute the first argument expression that is expected to return a number. If the argument is null, then get the number value from the current context node.
|
getArg0AsString | back to summary |
---|---|
protected XMLString getArg0AsString(XPathContext xctxt) throws TransformerException Execute the first argument expression that is expected to return a string. If the argument is null, then get the string value from the current context node.
|
reportWrongNumberArgs | back to summary |
---|---|
protected void reportWrongNumberArgs() throws WrongNumberArgsException Overrides com. Constructs and throws a WrongNumberArgException with the appropriate message for this function object. |