Save This Page
Home » apache-ant-1.8.1 » » ant » types » selectors » [javadoc | source]
public class: NotSelector [javadoc | source]

All Implemented Interfaces:
    SelectorContainer, FileSelector, Cloneable

This selector has one other selectors whose meaning it inverts. It actually relies on NoneSelector for its implementation of the isSelected() method, but it adds a check to ensure there is only one other selector contained within.
Fields inherited from
ref,  checked
Fields inherited from
project,  location,  description
 public NotSelector() 
 public NotSelector(FileSelector other) 
    Constructor that inverts the meaning of its argument.
    other - the selector to invert
    since: Ant - 1.7
Method from Summary:
toString,   verifySettings
Methods from
isSelected,   toString
Methods from
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
getError,   isSelected,   setError,   validate,   verifySettings
Methods from
checkAttributesAllowed,   checkChildrenAllowed,   circularReference,   clone,   dieOnCircularReference,   dieOnCircularReference,   dieOnCircularReference,   getCheckedRef,   getCheckedRef,   getCheckedRef,   getCheckedRef,   getDataTypeName,   getRefid,   invokeCircularReferenceCheck,   isChecked,   isReference,   noChildrenAllowed,   pushAndInvokeCircularReferenceCheck,   setChecked,   setRefid,   toString,   tooManyAttributes
Methods from
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 Detail:
 public String toString() 
 public  void verifySettings() 
    Makes sure that there is only one entry, sets an error message if not.