|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Context | |
---|---|
org.apache.commons.betwixt.expression | This package contains the system which extracts values from beans. |
org.apache.commons.betwixt.io | Package contains classes dealing directly with the reading and writing of beans. |
Uses of Context in org.apache.commons.betwixt.expression |
---|
Methods in org.apache.commons.betwixt.expression that return Context | |
---|---|
Context |
Context.newContext(java.lang.Object newBean)
Returns a new child context with the given bean but the same log and variables. |
Methods in org.apache.commons.betwixt.expression with parameters of type Context | |
---|---|
java.lang.Object |
ConstantExpression.evaluate(Context context)
Evaluate expression against given context. |
java.lang.Object |
EmptyExpression.evaluate(Context context)
Return the bean we're evaluating. |
java.lang.Object |
Expression.evaluate(Context context)
Evaluates the expression on the bean with the given context and returns the result |
java.lang.Object |
IteratorExpression.evaluate(Context context)
Returns an interator over the current context |
java.lang.Object |
MethodExpression.evaluate(Context context)
Evaluate by calling the read method on the current bean |
java.lang.Object |
StringExpression.evaluate(Context context)
Return the context bean as a string |
java.lang.Object |
VariableExpression.evaluate(Context context)
Return the value of a context variable. |
protected void |
MethodExpression.handleException(Context context,
java.lang.Exception e)
Log error to context's logger. |
protected void |
MethodUpdater.handleException(Context context,
java.lang.Exception e)
Strategy method to allow derivations to handle exceptions differently. |
void |
MethodUpdater.update(Context context,
java.lang.Object newValue)
Updates the current bean context with the given String value |
void |
Updater.update(Context context,
java.lang.Object newValue)
Updates the current bean context with a new String value. |
void |
ConstantExpression.update(Context context,
java.lang.String newValue)
Do nothing |
void |
EmptyExpression.update(Context context,
java.lang.String newValue)
Do nothing |
void |
Expression.update(Context context,
java.lang.String newValue)
Updates the current bean context with a new String value. |
void |
IteratorExpression.update(Context context,
java.lang.String newValue)
Do nothing |
void |
MethodExpression.update(Context context,
java.lang.String newValue)
Do nothing. |
void |
StringExpression.update(Context context,
java.lang.String newValue)
Do nothing |
void |
VariableExpression.update(Context context,
java.lang.String newValue)
Do nothing |
Uses of Context in org.apache.commons.betwixt.io |
---|
Fields in org.apache.commons.betwixt.io declared as Context | |
---|---|
private Context |
BeanCreateRule.context
The Context used when evaluating Updaters |
Methods in org.apache.commons.betwixt.io with parameters of type Context | |
---|---|
protected void |
AbstractBeanWriter.write(java.lang.String qualifiedName,
ElementDescriptor elementDescriptor,
Context context)
Writes the given element |
protected void |
AbstractBeanWriter.write(java.lang.String qualifiedName,
ElementDescriptor elementDescriptor,
Context context,
java.lang.String idAttribute,
java.lang.String idValue)
Writes the given element adding an ID attribute |
protected void |
AbstractBeanWriter.writeAttribute(AttributeDescriptor attributeDescriptor,
Context context)
Writes an attribute declaration |
protected void |
AbstractBeanWriter.writeAttributes(ElementDescriptor elementDescriptor,
Context context)
Writes the attribute declarations |
protected boolean |
AbstractBeanWriter.writeContent(ElementDescriptor elementDescriptor,
Context context)
Writes the element content. |
protected void |
AbstractBeanWriter.writeRestOfElement(java.lang.String qualifiedName,
ElementDescriptor elementDescriptor,
Context context)
Write attributes, child elements and element end |
Constructors in org.apache.commons.betwixt.io with parameters of type Context | |
---|---|
BeanCreateRule(ElementDescriptor descriptor,
java.lang.Class beanClass,
Context context,
java.lang.String pathPrefix,
boolean matchIDs)
Base constructor (used by other constructors). |
|
BeanCreateRule(ElementDescriptor descriptor,
Context context,
java.lang.String pathPrefix)
Convenience constructor which uses ID's for match. |
|
BeanCreateRule(ElementDescriptor descriptor,
Context context,
java.lang.String pathPrefix,
boolean matchIDs)
Constructor taking a context. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |