org.apache.tools.ant

Class IntrospectionHelper.Creator

Enclosing Class:
IntrospectionHelper

public static final class IntrospectionHelper.Creator
extends java.lang.Object

creator - allows use of create/store external to IntrospectionHelper. The class is final as it has a private constructor.

Method Summary

Object
create()
Create an object using this creator, which is determined by introspection.
Object
getRealObject()
void
setPolyType(String polyType)
Used to override the class used to create the object.
void
store()
Stores the nested element object using a storage method determined by introspection.

Method Details

create

public Object create()
Create an object using this creator, which is determined by introspection.
Returns:
the created object

getRealObject

public Object getRealObject()
Returns:
the real object (used currently only for preset def).

setPolyType

public void setPolyType(String polyType)
Used to override the class used to create the object.
Parameters:
polyType - a ant component type name

store

public void store()
Stores the nested element object using a storage method determined by introspection.

Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.