| Modifier and Type | Field and Description |
|---|---|
| private String | m_expression
Field m_expression: Stored expression value of this argument. |
| private boolean | m_isFromWithParam
True if this variable was added with an xsl:with-param or is added via setParameter. |
| private boolean | m_isVisible
True if this variable is currently visible. |
| private QName | m_qname
Field m_qname: The name of this argument, expressed as a QName (Qualified Name) object. |
| private XObject | m_val
Field m_val: Stored XObject value of this argument |
| Access | Constructor and Description |
|---|---|
| public | Arg()
Construct a dummy parameter argument, with no QName and no value (either expression string or value XObject). |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | Returns: true if this object is the same as the obj
argument; false otherwise.the reference object with which to compare. obj)Overrides java. Equality function specialized for the variable name. |
| public String | Returns: String containing the expression previously stored into this argumentGet the value expression for this argument. |
| public final QName | Returns: QName object containing the qualified nameGet the qualified name for this argument. |
| public final XObject | |
| public int | |
| public boolean | isFromWithParam()
Tell if this variable is a parameter passed with a with-param or as a top-level parameter. |
| public boolean | |
| public void | setExpression(String
String containing the expression to be stored as this
argument's value. expr)Set the value expression for this argument. |
| public void | |
| public final void | |
| public final void |
| m_expression | back to summary |
|---|---|
| private String m_expression Field m_expression: Stored expression value of this argument.
| |
| m_isFromWithParam | back to summary |
|---|---|
| private boolean m_isFromWithParam True if this variable was added with an xsl:with-param or is added via setParameter. | |
| m_isVisible | back to summary |
|---|---|
| private boolean m_isVisible True if this variable is currently visible. To be visible, a variable needs to come either from xsl:variable or be a "received" parameter, ie one for which an xsl:param has been encountered. Set at the time the object is constructed and updated as needed. | |
| m_qname | back to summary |
|---|---|
| private QName m_qname Field m_qname: The name of this argument, expressed as a QName (Qualified Name) object. | |
| m_val | back to summary |
|---|---|
| private XObject m_val Field m_val: Stored XObject value of this argument | |
| Arg | back to summary |
|---|---|
| public Arg() Construct a dummy parameter argument, with no QName and no value (either expression string or value XObject). isVisible defaults to true. | |
| Arg | back to summary |
|---|---|
| public Arg(QName qname, String expression, boolean isFromWithParam) Construct a parameter argument that contains an expression. | |
| Arg | back to summary |
|---|---|
| public Arg(QName qname, XObject val) Construct a parameter argument which has an XObject value. isVisible defaults to true. | |
| Arg | back to summary |
|---|---|
| public Arg(QName qname, XObject val, boolean isFromWithParam) Construct a parameter argument. | |
| detach | back to summary |
|---|---|
| public void detach() Have the object release it's resources. Call only when the variable or argument is going out of scope. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Equality function specialized for the variable name. If the argument is not a qname, it will deligate to the super class. | |
| getExpression | back to summary |
|---|---|
| public String getExpression() Get the value expression for this argument.
| |
| getQName | back to summary |
|---|---|
| public final QName getQName() Get the qualified name for this argument.
| |
| getVal | back to summary |
|---|---|
| public final XObject getVal() Get the value for this argument.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isFromWithParam | back to summary |
|---|---|
| public boolean isFromWithParam() Tell if this variable is a parameter passed with a with-param or as a top-level parameter. | |
| isVisible | back to summary |
|---|---|
| public boolean isVisible() Tell if this variable is currently visible. | |
| setExpression | back to summary |
|---|---|
| public void setExpression(String expr) Set the value expression for this argument.
| |
| setIsVisible | back to summary |
|---|---|
| public void setIsVisible(boolean b) Update visibility status of this variable. | |
| setQName | back to summary |
|---|---|
| public final void setQName(QName name) Set the qualified name for this argument.
| |
| setVal | back to summary |
|---|---|
| public final void setVal(XObject val) Set the value of this argument. | |