org.apache.tools.ant.module/3 3.47.1 2

org.apache.tools.ant.module.api
Interface IntrospectionCookie

All Superinterfaces:
Node.Cookie

Deprecated. No longer useful in new UI.

@Deprecated
public interface IntrospectionCookie
extends Node.Cookie

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()
          Deprecated. Get the name of the class this object is associated with.
 

Method Detail

getClassName

String getClassName()
Deprecated. 
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.

Returns:
the fully-qualified dot-separated class name

org.apache.tools.ant.module/3 3.47.1 2

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.