Modifier and Type | Field and Description |
---|---|
protected List<DapDimension> |
alldimensions |
protected List<DapEnum> |
allenums |
protected List<DapGroup> |
allgroups |
protected List<DapVariable> |
allvariables |
protected List<DapDimension> |
anonymousdims |
protected String |
base |
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 |
attributes, dataset, escapedname, fqn, index, parent, shortname, sort
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
|
List<DapDimension> |
getAllDimensions() |
List<DapEnum> |
getAllEnums() |
List<DapGroup> |
getAllGroups() |
List<DapVariable> |
getAllVariables() |
String |
getBase() |
String |
getDapVersion() |
String |
getDMRVersion() |
Map<String,DapNode> |
getFQNMap() |
DapIterator |
getIterator(EnumSet<DapSort> sortset) |
List<DapNode> |
getNodeList() |
String |
getNS() |
List<DapVariable> |
getTopVariables() |
List<DapNode> |
lookup(String fqn,
EnumSet<DapSort> sortset)
Parse an FQN and use it to trace to a specific
object in a dataset.
|
void |
setBase(String value) |
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, 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 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<DapDimension> alldimensions
protected boolean finished
public DapDataset()
public DapDataset(String name)
public void finish()
protected void finishR(DapNode node)
node
- to walkpublic 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 void addNode(DapNode newnode)
public DapDimension createAnonymous(long size) throws DapException
DapException
public DapIterator getIterator(EnumSet<DapSort> sortset)
public List<DapVariable> getTopVariables()
public List<DapVariable> getAllVariables()
public List<DapDimension> getAllDimensions()
public List<DapNode> lookup(String fqn, EnumSet<DapSort> sortset) throws DapException
fqn
- the fully qualified namesortset
- the kind(s) of object we are looking forDapException
public void sort()
Copyright © 1999–2019 UCAR/Unidata. All rights reserved.