Modifier and Type | Field and Description |
---|---|
protected java.util.List<DapStructure> |
allcompounds |
protected java.util.List<DapDimension> |
alldimensions |
protected java.util.List<DapEnumeration> |
allenums |
protected java.util.List<DapGroup> |
allgroups |
protected java.util.List<DapVariable> |
allvariables |
protected java.util.List<DapDimension> |
anonymousdims |
protected java.lang.String |
base |
protected CEConstraint |
ce |
protected java.util.Map<DapVariable,java.lang.Long> |
checksummap |
protected java.lang.String |
dapversion |
protected java.lang.String |
dmrversion |
protected boolean |
finished |
protected java.util.Map<java.lang.String,DapNode> |
fqnmap |
protected java.util.List<DapNode> |
nodelist |
protected java.lang.String |
ns |
protected java.util.List<DapVariable> |
topvariables |
protected java.util.List<DapNode> |
visiblenodes |
compounds, decls, dimensions, enums, groups, variables
annotations, attributes, dataset, escapedname, fqn, index, parent, shortname, sort, xmlattributes
Constructor and Description |
---|
DapDataset() |
DapDataset(java.lang.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
|
java.lang.String |
getBase() |
CEConstraint |
getConstraint() |
java.lang.String |
getDapVersion() |
java.lang.String |
getDMRVersion() |
java.util.Map<java.lang.String,DapNode> |
getFQNMap() |
DapIterator |
getIterator(java.util.EnumSet<DapSort> sortset) |
java.util.List<DapNode> |
getNodeList() |
java.lang.String |
getNS() |
java.util.List<DapVariable> |
getTopVariables() |
DapNode |
lookup(java.lang.String fqn,
DapSort... sortset)
Parse an FQN and use it to trace to a specific
object in a dataset.
|
void |
setBase(java.lang.String value) |
void |
setConstraint(CEConstraint ce) |
void |
setDapVersion(java.lang.String value) |
void |
setDMRVersion(java.lang.String value) |
void |
setFQNMap(java.util.Map<java.lang.String,DapNode> fqnmap) |
void |
setNS(java.lang.String value) |
void |
sort()
Sort the nodelist into prefix left to right order
|
void |
sortR(DapNode node,
java.util.List<DapNode> sortlist)
Sort helper
|
addDecl, containsDecl, findByFQN, findByName, findInGroup, findVariable, getCompounds, getDecls, getDimensions, getEnums, getGroups, getVariables, setDecls
addAttribute, 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, toString
protected CEConstraint ce
protected java.util.List<DapNode> nodelist
protected java.util.Map<java.lang.String,DapNode> fqnmap
protected java.util.List<DapDimension> anonymousdims
protected java.util.List<DapNode> visiblenodes
protected java.lang.String dapversion
protected java.lang.String dmrversion
protected java.lang.String base
protected java.lang.String ns
protected java.util.List<DapVariable> topvariables
protected java.util.List<DapVariable> allvariables
protected java.util.List<DapGroup> allgroups
protected java.util.List<DapEnumeration> allenums
protected java.util.List<DapStructure> allcompounds
protected java.util.List<DapDimension> alldimensions
protected boolean finished
protected java.util.Map<DapVariable,java.lang.Long> checksummap
public DapDataset()
public DapDataset(java.lang.String name)
public void finish()
protected void finishR(DapNode node)
node
- to walkpublic CEConstraint getConstraint()
public void setConstraint(CEConstraint ce)
public java.lang.String getDapVersion()
public void setDapVersion(java.lang.String value)
public java.lang.String getDMRVersion()
public void setDMRVersion(java.lang.String value)
public java.lang.String getNS()
public void setNS(java.lang.String value)
public java.lang.String getBase()
public void setBase(java.lang.String value)
public java.util.Map<java.lang.String,DapNode> getFQNMap()
public void setFQNMap(java.util.Map<java.lang.String,DapNode> fqnmap)
public java.util.List<DapNode> getNodeList()
public java.util.List<DapVariable> getTopVariables()
public void addNode(DapNode newnode)
public DapDimension createAnonymous(long size) throws DapException
DapException
public DapIterator getIterator(java.util.EnumSet<DapSort> sortset)
public DapNode lookup(java.lang.String fqn, DapSort... sortset) throws DapException
fqn
- the fully qualified namesortset
- the kind(s) of object we are looking forDapException
public void sort()