Modifier and Type | Field and Description |
---|---|
protected java.util.List<DapDimension> |
alldimensions |
protected java.util.List<DapEnum> |
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 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 |
attributes, dataset, escapedname, fqn, index, parent, shortname, sort
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.util.List<DapDimension> |
getAllDimensions() |
java.util.List<DapEnum> |
getAllEnums() |
java.util.List<DapGroup> |
getAllGroups() |
java.util.List<DapVariable> |
getAllVariables() |
java.lang.String |
getBase() |
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() |
java.util.List<DapNode> |
lookup(java.lang.String fqn,
java.util.EnumSet<DapSort> sortset)
Parse an FQN and use it to trace to a specific
object in a dataset.
|
void |
setBase(java.lang.String value) |
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, findByFQN, findByFQN, findByName, findByName, findInGroup, findInGroup, findVariable, getDecls, getDimensions, getEnums, getGroups, getVariables, setDecls
addAttribute, findAttribute, getAttributes, getContainer, getContainerPath, getDataset, getEscapedShortName, getFQN, getGroup, getGroupPath, getIndex, getParent, getPath, getShortName, getSort, isTopLevel, removeAttribute, setAttribute, setAttributes, setDataset, setIndex, setParent, setShortName, setSort, toString
protected java.util.List<DapNode> nodelist
protected java.util.Map<java.lang.String,DapNode> fqnmap
protected java.util.List<DapDimension> anonymousdims
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<DapEnum> allenums
protected java.util.List<DapDimension> alldimensions
protected boolean finished
public DapDataset()
public DapDataset(java.lang.String name)
public void finish()
protected void finishR(DapNode node)
node
- to walkpublic 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 void addNode(DapNode newnode)
public DapDimension createAnonymous(long size) throws DapException
DapException
public DapIterator getIterator(java.util.EnumSet<DapSort> sortset)
public java.util.List<DapVariable> getTopVariables()
public java.util.List<DapVariable> getAllVariables()
public java.util.List<DapGroup> getAllGroups()
public java.util.List<DapEnum> getAllEnums()
public java.util.List<DapDimension> getAllDimensions()
public java.util.List<DapNode> lookup(java.lang.String fqn, java.util.EnumSet<DapSort> sortset) throws DapException
fqn
- the fully qualified namesortset
- the kind(s) of object we are looking forDapException
public void sort()