org.apache.commons.betwixt.io
Class BeanRuleSet.DigesterReadContext
java.lang.Object
org.apache.commons.betwixt.expression.Context
org.apache.commons.betwixt.io.read.ReadContext
org.apache.commons.betwixt.io.BeanRuleSet.DigesterReadContext
- Enclosing class:
- BeanRuleSet
- private static class BeanRuleSet.DigesterReadContext
- extends ReadContext
Specialization of ReadContext
when reading from Digester
.
- Version:
- $Revision: 438373 $
- Author:
- Jakarta Commons Team
Field Summary |
private org.apache.commons.digester.Digester |
digester
|
Fields inherited from class org.apache.commons.betwixt.io.read.ReadContext |
|
Fields inherited from class org.apache.commons.betwixt.expression.Context |
|
Method Summary |
org.apache.commons.digester.Digester |
getDigester()
|
java.lang.Object |
popBean()
Pops the last mapping Object from the
stack containing beans that have been mapped. |
void |
pushBean(java.lang.Object bean)
Pushs a newly mapped Object onto the mapped bean stack. |
void |
setDigester(org.apache.commons.digester.Digester digester)
|
Methods inherited from class org.apache.commons.betwixt.io.read.ReadContext |
clearBeans, currentMappingAction, getActionMappingStrategy, getBean, getBean, getBeanCreationChain, getClassLoader, getCurrentDescriptor, getCurrentElement, getCurrentUpdater, getLastMappedClass, getRootClass, getXMLIntrospector, markClassMap, popElement, popMappingAction, populateAttributes, popUpdater, pushElement, pushMappingAction, pushUpdater, putBean, resolvePolymorphicType, setBean, setClassLoader, setRootClass, setXMLIntrospector |
Methods inherited from class org.apache.commons.betwixt.expression.Context |
getClassNameAttribute, getIdMappingStrategy, getInheritedOption, getLog, getMapIDs, getObjectStringConverter, getOptions, getValueSuppressionStrategy, getVariable, getVariables, newContext, popOptions, pushOptions, setClassNameAttribute, setLog, setValueSuppressionStrategy, setVariable, setVariables |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
digester
private org.apache.commons.digester.Digester digester
BeanRuleSet.DigesterReadContext
public BeanRuleSet.DigesterReadContext(Context context,
ReadConfiguration readConfiguration)
- Parameters:
context
- readConfiguration
-
BeanRuleSet.DigesterReadContext
public BeanRuleSet.DigesterReadContext(BindingConfiguration bindingConfiguration,
ReadConfiguration readConfiguration)
- Parameters:
bindingConfiguration
- readConfiguration
-
BeanRuleSet.DigesterReadContext
public BeanRuleSet.DigesterReadContext(org.apache.commons.logging.Log log,
BindingConfiguration bindingConfiguration,
ReadConfiguration readConfiguration)
- Parameters:
log
- bindingConfiguration
- readConfiguration
-
BeanRuleSet.DigesterReadContext
public BeanRuleSet.DigesterReadContext(ReadContext readContext)
getDigester
public org.apache.commons.digester.Digester getDigester()
setDigester
public void setDigester(org.apache.commons.digester.Digester digester)
pushBean
public void pushBean(java.lang.Object bean)
- Description copied from class:
ReadContext
- Pushs a newly mapped
Object
onto the mapped bean stack.
- Overrides:
pushBean
in class ReadContext
- Parameters:
bean
-
popBean
public java.lang.Object popBean()
- Description copied from class:
ReadContext
- Pops the last mapping
Object
from the
stack containing beans that have been mapped.
- Overrides:
popBean
in class ReadContext
- Returns:
- the last bean pushed onto the stack