public class DereferenceClause extends AbstractClause implements SubClause
ClauseFactory| Modifier and Type | Field and Description |
|---|---|
protected Clause |
parent |
protected java.lang.String |
url |
protected BaseType |
value |
children, constant, defined| Modifier | Constructor and Description |
|---|---|
protected |
DereferenceClause(java.lang.String url)
Creates a new DereferenceClause
|
| Modifier and Type | Method and Description |
|---|---|
BaseType |
evaluate()
Evaluates the clause, first calling evaluate() on any sub-clauses it
contains.
|
Clause |
getParent()
Returns the Clause which contains this subclause.
|
java.lang.String |
getURL() |
BaseType |
getValue()
Returns a BaseType containing the current value of the sub-clause.
|
void |
printConstraint(java.io.PrintWriter os)
Dump clause as in constraint form
|
protected BaseType |
retrieve(java.lang.String url) |
void |
setParent(Clause parent)
Sets the parent of this subclause.
|
getChildren, isConstant, isDefinedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildren, isConstant, isDefinedprotected java.lang.String url
protected Clause parent
protected BaseType value
protected DereferenceClause(java.lang.String url)
throws DAP2ServerSideException
DAP2ServerSideExceptionpublic BaseType getValue()
SubClausepublic BaseType evaluate()
SubClausepublic Clause getParent()
SubClausepublic void setParent(Clause parent)
SubClausepublic java.lang.String getURL()
protected BaseType retrieve(java.lang.String url) throws DAP2ServerSideException
DAP2ServerSideExceptionpublic void printConstraint(java.io.PrintWriter os)
ClauseprintConstraint in interface Clause