|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopendap.dap.BaseType
opendap.dap.DConstructor
public abstract class DConstructor
Contains methods used only by the OPeNDAP constructor classes
(DStructure, DSequence, DGrid, and
DList).
DStructure,
DSequence,
DGrid,
Serialized Form| Constructor Summary | |
|---|---|
DConstructor()
Constructs a new DConstructor. |
|
DConstructor(java.lang.String n)
Constructs a new DConstructor with the given name. |
|
| Method Summary | |
|---|---|
void |
addVariable(BaseType v)
Adds a variable to the container. |
abstract void |
addVariable(BaseType v,
int part)
Adds a variable to the container. |
abstract BaseType |
getVar(int index)
Gets the indexed variable. |
abstract BaseType |
getVariable(java.lang.String name)
Gets the named variable. |
abstract java.util.Enumeration |
getVariables()
Return an Enumeration that can be used to iterate over all of the members of the class. |
void |
printXML(java.io.PrintWriter pw,
java.lang.String pad,
boolean constrained)
|
protected boolean |
someChildHasAttributes(BaseType bt)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DConstructor()
DConstructor.
public DConstructor(java.lang.String n)
DConstructor with the given name.
n - The name of the variable.| Method Detail |
|---|
public abstract void addVariable(BaseType v,
int part)
v - the variable to add.part - The part of the constructor data to be modified.public final void addVariable(BaseType v)
addVariable(v, 0).
v - the variable to add.
public abstract BaseType getVariable(java.lang.String name)
throws NoSuchVariableException
name - the name of the variable.
NoSuchVariableException - if the named variable does not
exist in this container.
public abstract BaseType getVar(int index)
throws NoSuchVariableException
DArray and
indexes 1 and higher return the associated map Vectors.
index - the index of the variable in the Vector Vars.
NoSuchVariableException - if the named variable does not
exist in this container.public abstract java.util.Enumeration getVariables()
protected boolean someChildHasAttributes(BaseType bt)
bt - The BasType object to search.
This class/method is associated with pre-release version of the DDX API. It is experimental and is subject to (significant) change.
public void printXML(java.io.PrintWriter pw,
java.lang.String pad,
boolean constrained)
printXML in class BaseTypepw - Where to printpad - Padding for iondentation (makes the output easier for humans
to read).constrained - If true then only projected variables (and their
Attributes) will be printed.This class/method is associated with pre-release version of the DDX API. It is experimental and is subject to (significant) change.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||