| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.types.resources.selectors.InstanceOf
public class InstanceOf
InstanceOf ResourceSelector.
| Constructor Summary | |
|---|---|
| InstanceOf() | |
| Method Summary | |
|---|---|
|  java.lang.Class<?> | getCheckClass()Get the comparison class. | 
|  java.lang.String | getType()Get the comparison type. | 
|  java.lang.String | getURI()Get the type's URI. | 
|  boolean | isSelected(Resource r)Return true if this Resource is selected. | 
|  void | setClass(java.lang.Class<?> c)Set the class to compare against. | 
|  void | setProject(Project p)Set the Project instance for this InstanceOf selector. | 
|  void | setType(java.lang.String s)Set the Ant type to compare against. | 
|  void | setURI(java.lang.String u)Set the URI in which the Ant type, if specified, should be defined. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public InstanceOf()
| Method Detail | 
|---|
public void setProject(Project p)
p - the Project instance used for type comparisons.public void setClass(java.lang.Class<?> c)
c - the class.public void setType(java.lang.String s)
s - the type name.public void setURI(java.lang.String u)
u - the URI.public java.lang.Class<?> getCheckClass()
public java.lang.String getType()
public java.lang.String getURI()
public boolean isSelected(Resource r)
isSelected in interface ResourceSelectorr - the Resource to check.
BuildException - if an error occurs.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||