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, isDefined
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren, isConstant, isDefined
protected java.lang.String url
protected Clause parent
protected BaseType value
protected DereferenceClause(java.lang.String url) throws DAP2ServerSideException
DAP2ServerSideException
public BaseType getValue()
SubClause
public BaseType evaluate()
SubClause
public Clause getParent()
SubClause
public void setParent(Clause parent)
SubClause
public java.lang.String getURL()
protected BaseType retrieve(java.lang.String url) throws DAP2ServerSideException
DAP2ServerSideException
public void printConstraint(java.io.PrintWriter os)
Clause
printConstraint
in interface Clause