|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.type.ConfigType
public abstract class ConfigType
Represents an introspected configuration type.
| Constructor Summary | |
|---|---|
ConfigType()
|
|
| Method Summary | |
|---|---|
void |
afterConfigure(ConfigContext builder,
java.lang.Object bean)
Called after the children are configured. |
void |
beforeConfigure(ConfigContext builder,
java.lang.Object bean,
org.w3c.dom.Node node)
Called before the children are configured. |
void |
beforeConfigureBean(ConfigContext builder,
java.lang.Object bean,
org.w3c.dom.Node node)
Called before the children are configured. |
java.lang.Object |
create(java.lang.Object parent)
Creates a new instance of the type. |
Attribute |
getAttribute(QName qName)
Returns the attribute with the given name. |
Attribute |
getContentProgramAttribute()
Returns the flow program attribute, i.e. |
Attribute |
getProgramAttribute()
Returns the program attribute. |
abstract java.lang.Class |
getType()
Returns the Java type. |
java.lang.String |
getTypeName()
Returns a printable name of the type. |
void |
init(java.lang.Object bean)
Initialize the type |
void |
inject(java.lang.Object bean)
Inject and initialize the type |
void |
introspect()
Introspect the type. |
boolean |
isBean()
Returns true for a bean-style type. |
boolean |
isEL()
Return true for EL evaluation |
boolean |
isNode()
Returns true for an XML node type. |
boolean |
isNoTrim()
Return true for non-trim. |
boolean |
isProgram()
Returns true for a program type. |
java.lang.Object |
replaceObject(java.lang.Object bean)
Replace the type with the generated object |
java.lang.String |
toString()
|
java.lang.Object |
valueOf(ELContext env,
Expr value)
Converts the value to a value of the type. |
java.lang.Object |
valueOf(java.lang.Object value)
Converts the value to a value of the type. |
abstract java.lang.Object |
valueOf(java.lang.String text)
Converts the string to a value of the type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigType()
| Method Detail |
|---|
public abstract java.lang.Class getType()
public void introspect()
public java.lang.String getTypeName()
public java.lang.Object create(java.lang.Object parent)
public void inject(java.lang.Object bean)
public void init(java.lang.Object bean)
public java.lang.Object replaceObject(java.lang.Object bean)
public abstract java.lang.Object valueOf(java.lang.String text)
public java.lang.Object valueOf(java.lang.Object value)
public java.lang.Object valueOf(ELContext env,
Expr value)
public boolean isBean()
public boolean isNode()
public boolean isNoTrim()
public boolean isEL()
public boolean isProgram()
public Attribute getAttribute(QName qName)
public Attribute getProgramAttribute()
public Attribute getContentProgramAttribute()
public void beforeConfigureBean(ConfigContext builder,
java.lang.Object bean,
org.w3c.dom.Node node)
public void beforeConfigure(ConfigContext builder,
java.lang.Object bean,
org.w3c.dom.Node node)
public void afterConfigure(ConfigContext builder,
java.lang.Object bean)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||