org.apache.xpath
public class Arg extends Object
UNKNOWN: internal
Constructor Summary | |
---|---|
Arg()
Construct a dummy parameter argument, with no QName and no
value (either expression string or value XObject). isVisible
defaults to true. | |
Arg(QName qname, String expression, boolean isFromWithParam)
Construct a parameter argument that contains an expression.
| |
Arg(QName qname, XObject val)
Construct a parameter argument which has an XObject value.
isVisible defaults to true.
| |
Arg(QName qname, XObject val, boolean isFromWithParam)
Construct a parameter argument.
|
Method Summary | |
---|---|
void | detach()
Have the object release it's resources.
|
boolean | equals(Object obj)
Equality function specialized for the variable name. |
String | getExpression()
Get the value expression for this argument.
|
QName | getQName()
Get the qualified name for this argument.
|
XObject | getVal()
Get the value for this argument.
|
boolean | isFromWithParam()
Tell if this variable is a parameter passed with a with-param or as
a top-level parameter. |
boolean | isVisible()
Tell if this variable is currently visible. |
void | setExpression(String expr)
Set the value expression for this argument.
|
void | setIsVisible(boolean b)
Update visibility status of this variable. |
void | setQName(QName name)
Set the qualified name for this argument.
|
void | setVal(XObject val)
Set the value of this argument.
|
Parameters: qname Name of the argument, expressed as a QName object. expression String to be stored as this argument's value expression. isFromWithParam True if this is a parameter variable.
Parameters: qname Name of the argument, expressed as a QName object. val Value of the argument, expressed as an XObject
Parameters: qname Name of the argument, expressed as a QName object. val Value of the argument, expressed as an XObject isFromWithParam True if this is a parameter variable.
Parameters: obj the reference object with which to compare.
Returns: true
if this object is the same as the obj
argument; false
otherwise.
Returns: String containing the expression previously stored into this argument
See Also: Arg
Returns: QName object containing the qualified name
Returns: the argument's stored XObject value.
See Also: setVal
Parameters: expr String containing the expression to be stored as this argument's value.
See Also: Arg
Parameters: name QName object representing the new Qualified Name.
Parameters: val an XObject representing the arguments's value.
See Also: getVal