| org.apache.tools.ant.module.api.IntrospectionCookie
IntrospectionCookie | public interface IntrospectionCookie extends Node.Cookie(Code) | | Represents an object with an associated introspectable class.
Used for Ant elements which are matched to some Java class
(e.g. for a task or for a subelement).
Similar in concept to InstanceCookie; however InstanceCookie
requires the cookie to be able to load the actual class and
instantiate it (which is not always possible from these elements)
and also does not provide a way to get the class name without
loading the class (which is useful from these elements).
IntrospectedInfo can be used to look up introspection results from
the resulting class name.
since: 2.3 See Also: IntrospectedInfo |
Method Summary | |
String | getClassName() Get the name of the class this object is associated with. |
getClassName | String getClassName()(Code) | | Get the name of the class this object is associated with.
Objects not associated with a class, or not associated
with a known particular class, should not have this cookie.
the fully-qualified dot-separated class name |
|
|