org.apache.xbean.recipe
Class ValueRecipe

java.lang.Object
  extended by org.apache.xbean.recipe.AbstractRecipe
      extended by org.apache.xbean.recipe.ValueRecipe
All Implemented Interfaces:
Serializable, Recipe

public class ValueRecipe
extends AbstractRecipe

See Also:
Serialized Form

Constructor Summary
ValueRecipe(Class type, String value)
           
ValueRecipe(Object value)
           
ValueRecipe(String type, String value)
           
ValueRecipe(ValueRecipe valueRecipe)
           
 
Method Summary
 boolean canCreate(Class type, ClassLoader classLoader)
           
 Object create(ClassLoader classLoader)
           
 String getType()
           
 String getValue()
           
 
Methods inherited from class org.apache.xbean.recipe.AbstractRecipe
create, getPriority
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueRecipe

public ValueRecipe(Class type,
                   String value)

ValueRecipe

public ValueRecipe(String type,
                   String value)

ValueRecipe

public ValueRecipe(Object value)

ValueRecipe

public ValueRecipe(ValueRecipe valueRecipe)
Method Detail

canCreate

public boolean canCreate(Class type,
                         ClassLoader classLoader)

getType

public String getType()

getValue

public String getValue()

create

public Object create(ClassLoader classLoader)


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.