Modifier and Type | Class and Description |
---|---|
pack-priv class |
Modifier and Type | Field and Description |
---|---|
pack-priv Expression[] | m_args
Argument expressions that are at index 3 or greater. |
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 array that contains the arguments at index 3 or greater.Return an expression array containing arguments at index 3 or greater. |
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_args | back to summary |
---|---|
pack-priv Expression[] m_args Argument expressions that are at index 3 or greater. |
serialVersionUID | back to summary |
---|---|
pack-priv static final long serialVersionUID Hides com. |
FunctionMultiArgs | back to summary |
---|---|
public FunctionMultiArgs() |
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.
|
getArgs | back to summary |
---|---|
public Expression[] getArgs() Return an expression array containing arguments at index 3 or greater.
|
reportWrongNumberArgs | back to summary |
---|---|
protected void reportWrongNumberArgs() throws WrongNumberArgsException Overrides com. Constructs and throws a WrongNumberArgException with the appropriate message for this function object. This class supports an arbitrary number of arguments, so this method must never be called. |
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.
|
Modifier and Type | Field and Description |
---|---|
pack-priv int |
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. |
m_argIndex | back to summary |
---|---|
pack-priv int m_argIndex |
ArgMultiOwner | back to summary |
---|---|
pack-priv ArgMultiOwner(int index) |
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.
|