public class DapGroup extends DapNode implements DapDecl
Modifier and Type | Field and Description |
---|---|
protected java.util.List<DapStructure> |
compounds |
protected java.util.List<DapNode> |
decls |
protected java.util.List<DapDimension> |
dimensions |
protected java.util.List<DapEnumeration> |
enums |
protected java.util.List<DapGroup> |
groups |
protected java.util.List<DapVariable> |
variables |
annotations, attributes, dataset, escapedname, fqn, index, parent, shortname, sort, xmlattributes
Constructor and Description |
---|
DapGroup() |
DapGroup(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addDecl(DapNode newdecl)
Add single declaration
|
boolean |
containsDecl(DapNode decl) |
DapNode |
findByFQN(java.lang.String fqn,
DapSort... sortset)
Parse an FQN and use it to trace to a specific
object in a dataset.
|
DapNode |
findByName(java.lang.String name,
DapSort... sortset) |
DapNode |
findInGroup(java.lang.String name,
DapSort... sortset) |
DapVariable |
findVariable(java.lang.String name)
Locate a variable in this group
|
java.util.List<DapStructure> |
getCompounds() |
java.util.List<DapNode> |
getDecls() |
java.util.List<DapDimension> |
getDimensions() |
java.util.List<DapEnumeration> |
getEnums() |
java.util.List<DapGroup> |
getGroups() |
java.util.List<DapVariable> |
getVariables() |
void |
setDecls(java.util.List<? extends DapNode> decls) |
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 java.util.List<DapNode> decls
protected java.util.List<DapGroup> groups
protected java.util.List<DapEnumeration> enums
protected java.util.List<DapDimension> dimensions
protected java.util.List<DapVariable> variables
protected java.util.List<DapStructure> compounds
public java.util.List<DapNode> getDecls()
public void setDecls(java.util.List<? extends DapNode> decls) throws DapException
DapException
public void addDecl(DapNode newdecl) throws DapException
DapException
public java.util.List<DapGroup> getGroups()
public java.util.List<DapEnumeration> getEnums()
public java.util.List<DapStructure> getCompounds()
public java.util.List<DapDimension> getDimensions()
public java.util.List<DapVariable> getVariables()
public boolean containsDecl(DapNode decl)
public DapNode findByFQN(java.lang.String fqn, DapSort... sortset) throws DapException
fqn
- the fully qualified namesortset
- the kinds of object we are looking forDapException
public DapVariable findVariable(java.lang.String name)
name
- the variable's name