|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xpath.Arg
This class holds an instance of an argument on the stack. The value of the argument can be either an XObject or a String containing an expression.
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Constructor Summary | |
Arg()
Construct a dummy parameter argument, with no QName and no value (either expression string or value XObject). |
|
Arg(QName qname,
java.lang.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. |
|
Arg(QName qname,
XObject val,
boolean isFromWithParam)
Construct a parameter argument. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Equality function specialized for the variable name. |
java.lang.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(java.lang.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. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Arg()
public Arg(QName qname, java.lang.String expression, boolean isFromWithParam)
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.public Arg(QName qname, XObject val)
qname
- Name of the argument, expressed as a QName object.val
- Value of the argument, expressed as an XObjectpublic Arg(QName qname, XObject val, boolean isFromWithParam)
qname
- Name of the argument, expressed as a QName object.val
- Value of the argument, expressed as an XObjectisFromWithParam
- True if this is a parameter variable.Method Detail |
public QName getQName()
public void setQName(QName name)
name
- QName object representing the new Qualified Name.public XObject getVal()
setVal(XObject)
public void setVal(XObject val)
val
- an XObject representing the arguments's value.getVal()
public java.lang.String getExpression()
setExpression(java.lang.String)
public void setExpression(java.lang.String expr)
expr
- String containing the expression to be stored as this
argument's value.getExpression()
public boolean isFromWithParam()
public boolean isVisible()
public void setIsVisible(boolean b)
public boolean equals(java.lang.Object obj)
obj
- the reference object with which to compare.true
if this object is the same as the obj
argument; false
otherwise.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |