Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.resources.selectors.ResourceSelectorContainer
org.apache.tools.ant.types.resources.selectors.And
Field Summary |
Fields inherited from class org.apache.tools.ant.ProjectComponent | |
description , location , project |
Constructor Summary | |
| |
|
Method Summary | |
boolean |
|
Methods inherited from class org.apache.tools.ant.types.resources.selectors.ResourceSelectorContainer | |
add , dieOnCircularReference , getSelectors , hasSelectors , selectorCount |
Methods inherited from class org.apache.tools.ant.types.DataType | |
checkAttributesAllowed , checkChildrenAllowed , circularReference , clone , dieOnCircularReference , dieOnCircularReference , dieOnCircularReference , getCheckedRef , getCheckedRef , getCheckedRef , getCheckedRef , getDataTypeName , getRefid , invokeCircularReferenceCheck , isChecked , isReference , noChildrenAllowed , setChecked , setRefid , toString , tooManyAttributes |
Methods inherited from class org.apache.tools.ant.ProjectComponent | |
clone , getDescription , getLocation , getProject , log , log , setDescription , setLocation , setProject |
public And()
Default constructor.
public And(ResourceSelector[] r)
Convenience constructor.
- Parameters:
r
- the ResourceSelector[] to add.
public boolean isSelected(Resource r)
Return true if this Resource is selected.
- Specified by:
- isSelected in interface ResourceSelector
- Parameters:
r
- the Resource to check.
- Returns:
- whether the Resource was selected.