| Modifier and Type | Field and Description |
|---|---|
protected List<DapStructure> |
allcompounds |
protected List<DapDimension> |
alldimensions |
protected List<DapEnumeration> |
allenums |
protected List<DapGroup> |
allgroups |
protected List<DapVariable> |
allvariables |
protected List<DapDimension> |
anonymousdims |
protected String |
base |
protected CEConstraint |
ce |
protected String |
dapversion |
protected String |
dmrversion |
protected boolean |
finished |
protected Map<String,DapNode> |
fqnmap |
protected List<DapNode> |
nodelist |
protected String |
ns |
protected List<DapVariable> |
topvariables |
protected List<DapNode> |
visiblenodes |
compounds, decls, dimensions, enums, groups, variablesannotations, attributes, dataset, escapedname, fqn, index, parent, shortname, sort, xmlattributes| Constructor and Description |
|---|
DapDataset() |
DapDataset(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNode(DapNode newnode) |
DapDimension |
createAnonymous(long size) |
void |
finish() |
protected void |
finishR(DapNode node)
Recursive helper
|
String |
getBase() |
CEConstraint |
getConstraint() |
String |
getDapVersion() |
String |
getDMRVersion() |
Map<String,DapNode> |
getFQNMap() |
DapIterator |
getIterator(EnumSet<DapSort> sortset) |
List<DapNode> |
getNodeList() |
String |
getNS() |
List<DapVariable> |
getTopVariables() |
DapNode |
lookup(String fqn,
DapSort... sortset)
Parse an FQN and use it to trace to a specific
object in a dataset.
|
void |
setBase(String value) |
DapDataset |
setConstraint(CEConstraint ce) |
void |
setDapVersion(String value) |
void |
setDMRVersion(String value) |
void |
setFQNMap(Map<String,DapNode> fqnmap) |
void |
setNS(String value) |
void |
sort()
Sort the nodelist into prefix left to right order
|
void |
sortR(DapNode node,
List<DapNode> sortlist)
Sort helper
|
addDecl, findByFQN, findByName, findInGroup, findVariable, getCompounds, getDecls, getDimensions, getEnums, getGroups, getVariables, setDeclsaddAttribute, addXMLAttribute, annotate, annotation, computefqn, findAttribute, getAttributes, getContainer, getContainerPath, getDataset, getEscapedShortName, getFQN, getGroup, getGroupPath, getIndex, getParent, getPath, getShortName, getSort, getXMLAttributes, isTopLevel, overrideParent, removeAttribute, removeXMLAttribute, setAttribute, setAttributes, setDataset, setIndex, setParent, setShortName, setSort, toStringprotected CEConstraint ce
protected List<DapDimension> anonymousdims
protected String dapversion
protected String dmrversion
protected String base
protected String ns
protected List<DapVariable> topvariables
protected List<DapVariable> allvariables
protected List<DapEnumeration> allenums
protected List<DapStructure> allcompounds
protected List<DapDimension> alldimensions
protected boolean finished
public DapDataset()
public DapDataset(String name)
public void finish()
protected void finishR(DapNode node)
node - to walkpublic CEConstraint getConstraint()
public DapDataset setConstraint(CEConstraint ce)
public String getDapVersion()
public void setDapVersion(String value)
public String getDMRVersion()
public void setDMRVersion(String value)
public String getNS()
public void setNS(String value)
public String getBase()
public void setBase(String value)
public List<DapVariable> getTopVariables()
public void addNode(DapNode newnode)
public DapDimension createAnonymous(long size) throws DapException
DapExceptionpublic DapIterator getIterator(EnumSet<DapSort> sortset)
public DapNode lookup(String fqn, DapSort... sortset) throws DapException
fqn - the fully qualified namesortset - the kind(s) of object we are looking forDapExceptionpublic void sort()