|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jtool.jxplatform.wrapper.JxElement
org.jtool.jxplatform.wrapper.JxDefUseExpression
org.jtool.jxplatform.wrapper.JxLocal
org.jtool.jxplatform.wrapper.JxParameter
An object wrapping the Param element.
| Field Summary |
| Fields inherited from class org.jtool.jxplatform.wrapper.JxLocal |
jvariable |
| Fields inherited from class org.jtool.jxplatform.wrapper.JxDefUseExpression |
defs, expressions, uses |
| Fields inherited from class org.jtool.jxplatform.wrapper.JxElement |
element |
| Constructor Summary | |
protected |
JxParameter()
Creates a new, empty object. |
protected |
JxParameter(org.w3c.dom.Element elem)
Creates a new object wrapping a Param element. |
| Method Summary | |
boolean |
enclose(org.w3c.dom.Element elem)
Tests if this parameter element encloses a given element. |
boolean |
equals(JxParameter jparam)
Tests if a given parameter wrapper equals to this one. |
static org.w3c.dom.Element |
getParameterElement(org.w3c.dom.Element elem)
Returns the Param element containing a given element. |
boolean |
isFinal()
Tests if this parameter is declared as final. |
static boolean |
isParameter(org.w3c.dom.Element elem)
Tests if a given element equals to Param. |
void |
print()
Displays information about this parameter wrapper for debugging. |
| Methods inherited from class org.jtool.jxplatform.wrapper.JxLocal |
equals, getAllElementsSharingTheSameType, getJxVariable, getLocalElement, getName, getNameNode, getNumOfVariablesInDeclaration, getTypeFqn, getTypeName, hasInitialValue, isLocal, isOmitted, isVolatile |
| Methods inherited from class org.jtool.jxplatform.wrapper.JxDefUseExpression |
addDefinedVariable, addDefinedVariableFirst, addUsedVariable, addUsedVariableFirst, clearDefinedVariable, clearUsedVariable, definesVariable, equals, getDefinedVariables, getExpressions, getUsedVariables, removeDefinedVariable, removeUsedVariable, usesVariable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected JxParameter()
protected JxParameter(org.w3c.dom.Element elem)
throws JxWrapperException
Param element.
elem - An DOM element to be wrapped.
JxWrapperException - if the specified element is not valid.| Method Detail |
public boolean isFinal()
isFinal in class JxLocaltrue if this parameter is final.public static boolean isParameter(org.w3c.dom.Element elem)
Param.
elem - An element of the DOM.
true if the element equals to Param.public static org.w3c.dom.Element getParameterElement(org.w3c.dom.Element elem)
Param element containing a given element.
elem - An element of the DOM.
Param element, or null if there is no such element.public boolean equals(JxParameter jparam)
jparam - A parameter wrapper.
true if the local wrapper equals to this one, otherwise false.public boolean enclose(org.w3c.dom.Element elem)
enclose in class JxLocalelem - An element of the DOM.
true if this element encloses the element.public void print()
print in class JxLocal
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||