|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.apache.commons.betwixt.expression.Context
|
+--org.apache.commons.betwixt.io.read.ReadContext
Extends Context to provide read specific functionality.
| Constructor Summary | |
ReadContext(org.apache.commons.betwixt.BindingConfiguration bindingConfiguration,
org.apache.commons.betwixt.io.read.ReadConfiguration readConfiguration)
Constructs a ReadContext with standard log. |
|
ReadContext(org.apache.commons.betwixt.expression.Context context,
org.apache.commons.betwixt.io.read.ReadConfiguration readConfiguration)
Constructs a ReadContext with the same settings
as an existing Context. |
|
ReadContext(org.apache.commons.logging.Log log,
org.apache.commons.betwixt.BindingConfiguration bindingConfiguration,
org.apache.commons.betwixt.io.read.ReadConfiguration readConfiguration)
Base constructor |
|
ReadContext(org.apache.commons.betwixt.io.read.ReadContext readContext)
Constructs a ReadContext
with the same settings as an existing Context. |
|
| Method Summary | |
void |
clearBeans()
Clears the beans indexed by id. |
java.lang.Object |
getBean(java.lang.String id)
Gets a bean from storage by an (xml) ID. |
org.apache.commons.betwixt.io.read.BeanCreationChain |
getBeanCreationChain()
Gets the BeanCreationChange to be used to create beans
when an element is mapped. |
java.lang.ClassLoader |
getClassLoader()
Gets the classloader to be used. |
void |
putBean(java.lang.String id,
java.lang.Object bean)
Puts a bean into storage indexed by an (xml) ID. |
void |
setClassLoader(java.lang.ClassLoader classLoader)
Sets the classloader to be used. |
| Methods inherited from class org.apache.commons.betwixt.expression.Context |
getBean, getClassNameAttribute, getLog, getMapIDs, getObjectStringConverter, getVariable, getVariables, newContext, setBean, setClassNameAttribute, setLog, setVariable, setVariables |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReadContext(org.apache.commons.betwixt.expression.Context context,
org.apache.commons.betwixt.io.read.ReadConfiguration readConfiguration)
ReadContext with the same settings
as an existing Context.
context - not nullreadConfiguration - not null
public ReadContext(org.apache.commons.betwixt.BindingConfiguration bindingConfiguration,
org.apache.commons.betwixt.io.read.ReadConfiguration readConfiguration)
ReadContext with standard log.
bindingConfiguration - the dynamic configuration, not nullreadConfiguration - the extra read configuration not null
public ReadContext(org.apache.commons.logging.Log log,
org.apache.commons.betwixt.BindingConfiguration bindingConfiguration,
org.apache.commons.betwixt.io.read.ReadConfiguration readConfiguration)
log - log to this LogbindingConfiguration - the dynamic configuration, not nullreadConfiguration - the extra read configuration not nullpublic ReadContext(org.apache.commons.betwixt.io.read.ReadContext readContext)
ReadContext
with the same settings as an existing Context.
readContext - not null| Method Detail |
public void putBean(java.lang.String id,
java.lang.Object bean)
id - the ID string of the xml element associated with the beanbean - the Object to store, not nullpublic java.lang.Object getBean(java.lang.String id)
id - the ID string of the xml element associated with the bean
public void clearBeans()
public java.lang.ClassLoader getClassLoader()
public void setClassLoader(java.lang.ClassLoader classLoader)
classLoader - the ClassLoader to be used, possibly nullpublic org.apache.commons.betwixt.io.read.BeanCreationChain getBeanCreationChain()
BeanCreationChange to be used to create beans
when an element is mapped.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||