public class InstanceOf extends java.lang.Object implements ResourceSelector
| Constructor and Description | 
|---|
| InstanceOf() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
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.