description, location, project
Constructor and Description |
---|
ResourceSelectorContainer()
Default constructor.
|
ResourceSelectorContainer(ResourceSelector[] r)
Construct a new ResourceSelectorContainer with the specified array of selectors.
|
Modifier and Type | Method and Description |
---|---|
void |
add(ResourceSelector s)
Add a ResourceSelector to the container.
|
protected void |
dieOnCircularReference(java.util.Stack stk,
Project p)
Overrides the version from DataType to recurse on nested ResourceSelectors.
|
java.util.Iterator |
getSelectors()
Return an Iterator over the nested selectors.
|
boolean |
hasSelectors()
Learn whether this ResourceSelectorContainer has selectors.
|
int |
selectorCount()
Get the count of nested selectors.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public ResourceSelectorContainer()
public ResourceSelectorContainer(ResourceSelector[] r)
r
- the ResourceSelector[] to add.public void add(ResourceSelector s)
s
- the ResourceSelector to add.public boolean hasSelectors()
public int selectorCount()
public java.util.Iterator getSelectors()
protected void dieOnCircularReference(java.util.Stack stk, Project p) throws BuildException
dieOnCircularReference
in class DataType
stk
- the Stack of references.p
- the Project to resolve against.BuildException
- on error.