public class DapGroup extends DapNode implements DapDecl
Modifier and Type | Field and Description |
---|---|
protected List<DapNode> |
decls |
protected List<DapDimension> |
dimensions |
protected List<DapEnum> |
enums |
protected List<DapGroup> |
groups |
protected List<DapVariable> |
variables |
attributes, dataset, escapedname, fqn, index, parent, shortname, sort
Modifier and Type | Method and Description |
---|---|
void |
addDecl(DapNode newdecl)
Add single declaration
|
DapNode |
findByFQN(String fqn,
DapSort sort)
Parse an FQN and use it to trace to a specific
object in a dataset.
|
List<DapNode> |
findByFQN(String fqn,
EnumSet<DapSort> sortset) |
DapNode |
findByName(String name,
DapSort sort) |
List<DapNode> |
findByName(String name,
EnumSet<DapSort> sortset) |
DapNode |
findInGroup(String name,
DapSort sort) |
List<DapNode> |
findInGroup(String name,
EnumSet<DapSort> sortset) |
DapVariable |
findVariable(String name)
Locate a variable in this group
|
List<DapNode> |
getDecls() |
List<DapDimension> |
getDimensions() |
List<DapEnum> |
getEnums() |
List<DapGroup> |
getGroups() |
List<DapVariable> |
getVariables() |
void |
setDecls(List<? extends DapNode> decls) |
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> dimensions
protected List<DapVariable> variables
public DapGroup()
public DapGroup(String name)
public void setDecls(List<? extends DapNode> decls) throws DapException
DapException
public void addDecl(DapNode newdecl) throws DapException
DapException
public List<DapDimension> getDimensions()
public List<DapVariable> getVariables()
public DapNode findByFQN(String fqn, DapSort sort) throws DapException
fqn
- the fully qualified namesort
- the kind of object we are looking forDapException
public List<DapNode> findByFQN(String fqn, EnumSet<DapSort> sortset) throws DapException
DapException
public DapVariable findVariable(String name)
name
- the variable's nameCopyright © 1999–2015 UCAR/Unidata. All rights reserved.