Save This Page
Home » apache-ant-1.8.1 » org.apache.tools » ant » types » selectors » [javadoc | source]
org.apache.tools.ant.types.selectors
public class: OrSelector [javadoc | source]
java.lang.Object
   org.apache.tools.ant.ProjectComponent
      org.apache.tools.ant.types.DataType
         org.apache.tools.ant.types.selectors.BaseSelector
            org.apache.tools.ant.types.selectors.BaseSelectorContainer
               org.apache.tools.ant.types.selectors.OrSelector

All Implemented Interfaces:
    SelectorContainer, FileSelector, Cloneable

This selector has a collection of other selectors, any of which have to select a file in order for this selector to select it.
Fields inherited from org.apache.tools.ant.types.DataType:
ref,  checked
Fields inherited from org.apache.tools.ant.ProjectComponent:
project,  location,  description
Constructor:
 public OrSelector() 
Method from org.apache.tools.ant.types.selectors.OrSelector Summary:
isSelected,   toString
Methods from org.apache.tools.ant.types.selectors.BaseSelectorContainer:
add,   addAnd,   addContains,   addContainsRegexp,   addCustom,   addDate,   addDepend,   addDepth,   addDifferent,   addFilename,   addMajority,   addModified,   addNone,   addNot,   addOr,   addPresent,   addReadable,   addSelector,   addSize,   addType,   addWritable,   appendSelector,   dieOnCircularReference,   getSelectors,   hasSelectors,   isSelected,   selectorCount,   selectorElements,   toString,   validate
Methods from org.apache.tools.ant.types.selectors.BaseSelector:
getError,   isSelected,   setError,   validate,   verifySettings
Methods from org.apache.tools.ant.types.DataType:
checkAttributesAllowed,   checkChildrenAllowed,   circularReference,   clone,   dieOnCircularReference,   dieOnCircularReference,   dieOnCircularReference,   getCheckedRef,   getCheckedRef,   getCheckedRef,   getCheckedRef,   getDataTypeName,   getRefid,   invokeCircularReferenceCheck,   isChecked,   isReference,   noChildrenAllowed,   pushAndInvokeCircularReferenceCheck,   setChecked,   setRefid,   toString,   tooManyAttributes
Methods from org.apache.tools.ant.ProjectComponent:
clone,   getDescription,   getLocation,   getProject,   log,   log,   setDescription,   setLocation,   setProject
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tools.ant.types.selectors.OrSelector Detail:
 public boolean isSelected(File basedir,
    String filename,
    File file) 
    Returns true (the file is selected) if any of the other selectors agree that the file should be selected.
 public String toString()