Modifier and Type | Class and Description |
---|---|
pack-priv class |
Modifier and Type | Field and Description |
---|---|
pack-priv Expression | m_arg1
The second argument passed to the function (at index 1). |
pack-priv static final long |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | callArgVisitors(XPathVisitor visitor)
Overrides com. Call the visitors for the function arguments. |
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. |
public boolean | deepEquals(Expression
Another expression object. expr)Overrides com. Compare this object with another object and see if they are equal, include the sub heararchy. |
public void | fixupVariables(List<QName>
List of QNames that correspond to variables. This list
should be searched backwards for the first qualified name that
corresponds to the variable reference qname. The position of the
QName in the vector from the start of the vector will be its position
in the stack frame (but variables above the globalsTop value will need
to be offset to the current stack frame). vars, int globalsSize)Overrides com. This function is used to fixup variables from QNames to stack frame indexes at stylesheet build time. |
public Expression | Returns: An expression that represents the second argument passed to the function.Return the second argument passed to the function (at index 1). |
protected void | reportWrongNumberArgs()
Overrides com. Constructs and throws a WrongNumberArgException with the appropriate message for this function object. |
public void | setArg(Expression
non-null expression that represents the argument. arg, int The argument number index. argNum)Overrides com. Set an argument expression for a function. |
m_arg1 | back to summary |
---|---|
pack-priv Expression m_arg1 The second argument passed to the function (at index 1). |
serialVersionUID | back to summary |
---|---|
pack-priv static final long serialVersionUID Hides com. |
Function2Args | back to summary |
---|---|
public Function2Args() |
callArgVisitors | back to summary |
---|---|
public void callArgVisitors(XPathVisitor visitor) Overrides com. Doc from com. Call the visitors for the function arguments. |
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.
|
deepEquals | back to summary |
---|---|
public boolean deepEquals(Expression expr) Overrides com. Doc from com. Compare this object with another object and see if they are equal, include the sub heararchy.
|
fixupVariables | back to summary |
---|---|
public void fixupVariables(List<QName> vars, int globalsSize) Overrides com. This function is used to fixup variables from QNames to stack frame indexes at stylesheet build time.
|
getArg1 | back to summary |
---|---|
public Expression getArg1() Return the second argument passed to the function (at index 1).
|
reportWrongNumberArgs | back to summary |
---|---|
protected void reportWrongNumberArgs() throws WrongNumberArgsException Overrides com. Constructs and throws a WrongNumberArgException with the appropriate message for this function object. |
setArg | back to summary |
---|---|
public void setArg(Expression arg, int argNum) throws WrongNumberArgsException Overrides com. Set an argument expression for a function. This method is called by the XPath compiler.
|
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public Expression | getExpression()
Implements com. Get the raw Expression object that this class wraps. |
public void | setExpression(Expression
the raw Expression object, which should not normally be null. exp)Implements com. Set the raw expression object for this object. |
Arg1Owner | back to summary |
---|---|
pack-priv Arg1Owner() |
getExpression | back to summary |
---|---|
public Expression getExpression() Implements com. Doc from com. Get the raw Expression object that this class wraps.
|
setExpression | back to summary |
---|---|
public void setExpression(Expression exp) Implements com. Doc from com. Set the raw expression object for this object.
|