public class DereferenceClause extends AbstractClause implements SubClause
ClauseFactory| Modifier and Type | Field and Description |
|---|---|
protected Clause |
parent |
protected String |
url |
protected opendap.dap.BaseType |
value |
children, constant, defined| Modifier | Constructor and Description |
|---|---|
protected |
DereferenceClause(String url)
Creates a new DereferenceClause
|
| Modifier and Type | Method and Description |
|---|---|
opendap.dap.BaseType |
evaluate()
Evaluates the clause, first calling evaluate() on any sub-clauses it
contains.
|
Clause |
getParent()
Returns the Clause which contains this subclause.
|
String |
getURL() |
opendap.dap.BaseType |
getValue()
Returns a BaseType containing the current value of the sub-clause.
|
void |
printConstraint(PrintWriter os)
Dump clause as in constraint form
|
protected opendap.dap.BaseType |
retrieve(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 String url
protected Clause parent
protected opendap.dap.BaseType value
protected DereferenceClause(String url) throws DAP2ServerSideException
DAP2ServerSideExceptionpublic opendap.dap.BaseType getValue()
SubClausepublic opendap.dap.BaseType evaluate()
SubClausepublic Clause getParent()
SubClausepublic void setParent(Clause parent)
SubClausepublic String getURL()
protected opendap.dap.BaseType retrieve(String url) throws DAP2ServerSideException
DAP2ServerSideExceptionpublic void printConstraint(PrintWriter os)
ClauseprintConstraint in interface Clause