|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Context | |
org.apache.commons.betwixt.expression | |
org.apache.commons.betwixt.io | |
org.apache.commons.betwixt.io.read | |
org.apache.commons.betwixt.strategy |
Uses of Context in org.apache.commons.betwixt.expression |
Methods in org.apache.commons.betwixt.expression that return Context | |
org.apache.commons.betwixt.expression.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 |
ClassNameExpression.evaluate(org.apache.commons.betwixt.expression.Context context)
Evaluate on the current context and return the class name |
void |
ClassNameExpression.update(org.apache.commons.betwixt.expression.Context context,
java.lang.String newValue)
Do nothing. |
java.lang.Object |
ConstantExpression.evaluate(org.apache.commons.betwixt.expression.Context context)
Evaluate expression against given context. |
void |
ConstantExpression.update(org.apache.commons.betwixt.expression.Context context,
java.lang.String newValue)
Do nothing |
java.lang.Object |
DynaBeanExpression.evaluate(org.apache.commons.betwixt.expression.Context context)
Returns the value of a DynaBean property from the bean stored in the Context. |
void |
DynaBeanExpression.update(org.apache.commons.betwixt.expression.Context context,
java.lang.String newValue)
Do nothing. |
java.lang.Object |
EmptyExpression.evaluate(org.apache.commons.betwixt.expression.Context context)
Return the bean we're evaluating. |
void |
EmptyExpression.update(org.apache.commons.betwixt.expression.Context context,
java.lang.String newValue)
Do nothing |
java.lang.Object |
Expression.evaluate(org.apache.commons.betwixt.expression.Context context)
Evaluates the expression on the bean with the given context and returns the result |
void |
Expression.update(org.apache.commons.betwixt.expression.Context context,
java.lang.String newValue)
Deprecated. 0.5 use Updater instead |
java.lang.Object |
IteratorExpression.evaluate(org.apache.commons.betwixt.expression.Context context)
Returns an interator over the current context |
void |
IteratorExpression.update(org.apache.commons.betwixt.expression.Context context,
java.lang.String newValue)
Do nothing |
java.lang.Object |
MethodExpression.evaluate(org.apache.commons.betwixt.expression.Context context)
Evaluate by calling the read method on the current bean |
void |
MethodExpression.update(org.apache.commons.betwixt.expression.Context context,
java.lang.String newValue)
Do nothing. |
protected void |
MethodExpression.handleException(org.apache.commons.betwixt.expression.Context context,
java.lang.Exception e)
Log error to context's logger. |
void |
MethodUpdater.update(org.apache.commons.betwixt.expression.Context context,
java.lang.Object newValue)
Updates the current bean context with the given String value |
protected void |
MethodUpdater.handleException(org.apache.commons.betwixt.expression.Context context,
java.lang.Exception e)
Strategy method to allow derivations to handle exceptions differently. |
java.lang.Object |
StringExpression.evaluate(org.apache.commons.betwixt.expression.Context context)
Return the context bean as a string |
void |
StringExpression.update(org.apache.commons.betwixt.expression.Context context,
java.lang.String newValue)
Do nothing |
void |
Updater.update(org.apache.commons.betwixt.expression.Context context,
java.lang.Object newValue)
Updates the current bean context with a new String value. |
java.lang.Object |
VariableExpression.evaluate(org.apache.commons.betwixt.expression.Context context)
Return the value of a context variable. |
void |
VariableExpression.update(org.apache.commons.betwixt.expression.Context context,
java.lang.String newValue)
Do nothing |
Constructors in org.apache.commons.betwixt.expression with parameters of type Context | |
Context(org.apache.commons.betwixt.expression.Context context)
Construct a cloned context. |
Uses of Context in org.apache.commons.betwixt.io |
Methods in org.apache.commons.betwixt.io with parameters of type Context | |
protected void |
AbstractBeanWriter.write(java.lang.String qualifiedName,
org.apache.commons.betwixt.ElementDescriptor elementDescriptor,
org.apache.commons.betwixt.expression.Context context)
Deprecated. 0.5 replaced by new SAX inspired API |
protected void |
AbstractBeanWriter.write(java.lang.String qualifiedName,
org.apache.commons.betwixt.ElementDescriptor elementDescriptor,
org.apache.commons.betwixt.expression.Context context,
java.lang.String idAttribute,
java.lang.String idValue)
Deprecated. 0.5 replaced by new SAX inspired API |
protected void |
AbstractBeanWriter.writeRestOfElement(java.lang.String qualifiedName,
org.apache.commons.betwixt.ElementDescriptor elementDescriptor,
org.apache.commons.betwixt.expression.Context context)
Deprecated. 0.5 replaced by new SAX inspired API |
protected boolean |
AbstractBeanWriter.writeContent(org.apache.commons.betwixt.ElementDescriptor elementDescriptor,
org.apache.commons.betwixt.expression.Context context)
Deprecated. 0.5 replaced by new SAX inspired API |
protected void |
AbstractBeanWriter.writeAttributes(org.apache.commons.betwixt.ElementDescriptor elementDescriptor,
org.apache.commons.betwixt.expression.Context context)
Deprecated. 0.5 replaced by new SAX inspired API |
protected void |
AbstractBeanWriter.writeAttribute(org.apache.commons.betwixt.AttributeDescriptor attributeDescriptor,
org.apache.commons.betwixt.expression.Context context)
Deprecated. 0.5 replaced by new SAX inspired API |
Constructors in org.apache.commons.betwixt.io with parameters of type Context | |
BeanCreateRule(org.apache.commons.betwixt.ElementDescriptor descriptor,
org.apache.commons.betwixt.expression.Context context,
java.lang.String pathPrefix)
Deprecated. Convenience constructor which uses ID's for match. |
|
BeanCreateRule(org.apache.commons.betwixt.ElementDescriptor descriptor,
org.apache.commons.betwixt.expression.Context context,
java.lang.String pathPrefix,
boolean matchIDs)
Deprecated. Constructor taking a context. |
|
BeanRuleSet(org.apache.commons.betwixt.XMLIntrospector introspector,
java.lang.String basePath,
org.apache.commons.betwixt.ElementDescriptor baseElementDescriptor,
java.lang.Class baseBeanClass,
org.apache.commons.betwixt.expression.Context context)
Deprecated. 0.5 use the constructor which takes a ReadContext instead |
Uses of Context in org.apache.commons.betwixt.io.read |
Subclasses of Context in org.apache.commons.betwixt.io.read | |
class |
ReadContext
Extends Context to provide read specific functionality. |
Constructors in org.apache.commons.betwixt.io.read with parameters of type Context | |
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 . |
Uses of Context in org.apache.commons.betwixt.strategy |
Methods in org.apache.commons.betwixt.strategy with parameters of type Context | |
java.lang.String |
ConvertUtilsObjectStringConverter.objectToString(java.lang.Object object,
java.lang.Class type,
java.lang.String flavour,
org.apache.commons.betwixt.expression.Context context)
Converts an object to a string representation using ConvertUtils. |
java.lang.Object |
ConvertUtilsObjectStringConverter.stringToObject(java.lang.String value,
java.lang.Class type,
java.lang.String flavour,
org.apache.commons.betwixt.expression.Context context)
Converts an object to a string representation using ConvertUtils. |
java.lang.String |
DefaultObjectStringConverter.objectToString(java.lang.Object object,
java.lang.Class type,
java.lang.String flavour,
org.apache.commons.betwixt.expression.Context context)
Converts an object to a string representation using ConvertUtils. |
java.lang.Object |
DefaultObjectStringConverter.stringToObject(java.lang.String value,
java.lang.Class type,
java.lang.String flavour,
org.apache.commons.betwixt.expression.Context context)
Converts an object to a string representation using ConvertUtils. |
java.lang.String |
ObjectStringConverter.objectToString(java.lang.Object object,
java.lang.Class type,
java.lang.String flavour,
org.apache.commons.betwixt.expression.Context context)
Converts an object to a string representation. |
java.lang.Object |
ObjectStringConverter.stringToObject(java.lang.String value,
java.lang.Class type,
java.lang.String flavour,
org.apache.commons.betwixt.expression.Context context)
Converts a string representation to an object. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |