|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopendap.Server.AbstractClause
opendap.Server.DereferenceClause
public class DereferenceClause
Represents a sub-clause that is a URL reference to remote data. This feature is not yet supported in Java. Thus this class throws an exception in its constructor.
ClauseFactory| Field Summary | |
|---|---|
protected Clause |
parent
|
protected String |
url
|
protected BaseType |
value
|
| Fields inherited from class opendap.Server.AbstractClause |
|---|
children, constant, defined |
| Constructor Summary | |
|---|---|
protected |
DereferenceClause(String url)
Creates a new DereferenceClause |
| Method Summary | |
|---|---|
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()
|
BaseType |
getValue()
Returns a BaseType containing the current value of the sub-clause. |
void |
printConstraint(PrintWriter os)
Dump clause as in constraint form |
protected BaseType |
retrieve(String url)
|
void |
setParent(Clause parent)
Sets the parent of this subclause. |
| Methods inherited from class opendap.Server.AbstractClause |
|---|
getChildren, isConstant, isDefined |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface opendap.Server.Clause |
|---|
getChildren, isConstant, isDefined |
| Field Detail |
|---|
protected String url
protected Clause parent
protected BaseType value
| Constructor Detail |
|---|
protected DereferenceClause(String url)
throws DAP2ServerSideException
DAP2ServerSideException| Method Detail |
|---|
public BaseType getValue()
SubClause
getValue in interface SubClausepublic BaseType evaluate()
SubClause
evaluate in interface SubClausepublic Clause getParent()
SubClause
getParent in interface SubClausepublic void setParent(Clause parent)
SubClause
setParent in interface SubClausepublic String getURL()
protected BaseType retrieve(String url)
throws DAP2ServerSideException
DAP2ServerSideExceptionpublic void printConstraint(PrintWriter os)
Clause
printConstraint in interface Clause
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||