Class None
- 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.None
 
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Cloneable,- ResourceSelector
 
 public class None extends ResourceSelectorContainer implements ResourceSelector None ResourceSelector.- Since:
- Ant 1.7
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
 
- 
 - 
Constructor SummaryConstructors Constructor Description None()Default constructor.None(ResourceSelector... r)Convenience constructor.
 - 
Method SummaryModifier and Type Method Description booleanisSelected(Resource r)Return true if this Resource is selected.- 
Methods inherited from class org.apache.tools.ant.types.resources.selectors.ResourceSelectorContaineradd, dieOnCircularReference, getResourceSelectors, getSelectors, hasSelectors, selectorCount
 - 
Methods inherited from class org.apache.tools.ant.types.DataTypecheckAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
 - 
Methods inherited from class org.apache.tools.ant.ProjectComponentgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
 
- 
 
- 
- 
- 
Constructor Detail- 
Nonepublic None() Default constructor.
 - 
Nonepublic None(ResourceSelector... r) Convenience constructor.- Parameters:
- r- the ResourceSelector[] to add.
 
 
- 
 - 
Method Detail- 
isSelectedpublic boolean isSelected(Resource r) Return true if this Resource is selected.- Specified by:
- isSelectedin interface- ResourceSelector
- Parameters:
- r- the Resource to check.
- Returns:
- whether the Resource was selected.
 
 
- 
 
-