Uses of Class
org.apache.commons.betwixt.expression.Context

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. 
org.apache.commons.betwixt.io.read Package contains strategy and configuration classes used by reading only. 
org.apache.commons.betwixt.strategy This package contains a variety of plugin Strategy patterns that can be used to customize the default behaviours. 
 

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 VariableExpression.evaluate(Context context)
          Return the value of a context variable.
 java.lang.Object StringExpression.evaluate(Context context)
          Return the context bean as a string
 java.lang.Object MethodExpression.evaluate(Context context)
          Evaluate by calling the read method on the current bean
 java.lang.Object IteratorExpression.evaluate(Context context)
          Returns an interator over the current context
 java.lang.Object Expression.evaluate(Context context)
          Evaluates the expression on the bean with the given context and returns the result
 java.lang.Object EmptyExpression.evaluate(Context context)
          Return the bean we're evaluating.
 java.lang.Object DynaBeanExpression.evaluate(Context context)
          Returns the value of a DynaBean property from the bean stored in the Context.
 java.lang.Object ConstantExpression.evaluate(Context context)
          Evaluate expression against given context.
 java.lang.Object ClassNameExpression.evaluate(Context context)
          Evaluate on the current context and return the class name
protected abstract  void TypedUpdater.executeUpdate(Context context, java.lang.Object bean, java.lang.Object value)
          Updates the bean with the given value.
protected  void MethodUpdater.executeUpdate(Context context, java.lang.Object bean, java.lang.Object newValue)
          Updates the bean by method invocation.
protected  void DynaBeanUpdater.executeUpdate(Context context, java.lang.Object bean, java.lang.Object value)
          Executes the update on the given code>DynaBean
protected  void TypedUpdater.handleException(Context context, java.lang.Exception e)
          Strategy method to allow derivations to handle exceptions differently.
protected  void MethodExpression.handleException(Context context, java.lang.Exception e)
          Log error to context's logger.
protected  void MethodExpression.handleException(Context context, java.lang.Exception e, java.lang.reflect.Method m)
          Log error to context's logger.
 void Updater.update(Context context, java.lang.Object newValue)
          Updates the current bean context with a new String value.
 void TypedUpdater.update(Context context, java.lang.Object newValue)
          Updates the current bean context with the given String value
 void CollectionUpdater.update(Context context, java.lang.Object newValue)
          Updates collection contained by the context by adding the new value.
 void VariableExpression.update(Context context, java.lang.String newValue)
          Do nothing
 void StringExpression.update(Context context, java.lang.String newValue)
          Do nothing
 void MethodExpression.update(Context context, java.lang.String newValue)
          Do nothing.
 void IteratorExpression.update(Context context, java.lang.String newValue)
          Do nothing
 void Expression.update(Context context, java.lang.String newValue)
          Deprecated. 0.5 use Updater instead
 void EmptyExpression.update(Context context, java.lang.String newValue)
          Do nothing
 void DynaBeanExpression.update(Context context, java.lang.String newValue)
          Do nothing.
 void ConstantExpression.update(Context context, java.lang.String newValue)
          Do nothing
 void ClassNameExpression.update(Context context, java.lang.String newValue)
          Do nothing.
 

Constructors in org.apache.commons.betwixt.expression with parameters of type Context
Context(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, ElementDescriptor elementDescriptor, Context context)
          Deprecated. 0.5 replaced by new SAX inspired API
protected  void AbstractBeanWriter.write(java.lang.String qualifiedName, ElementDescriptor elementDescriptor, Context context, java.lang.String idAttribute, java.lang.String idValue)
          Deprecated. 0.5 replaced by new SAX inspired API
protected  void AbstractBeanWriter.writeAttribute(AttributeDescriptor attributeDescriptor, Context context)
          Deprecated. 0.5 replaced by new SAX inspired API
protected  void AbstractBeanWriter.writeAttributes(ElementDescriptor elementDescriptor, Context context)
          Deprecated. 0.5 replaced by new SAX inspired API
protected  boolean AbstractBeanWriter.writeContent(ElementDescriptor elementDescriptor, Context context)
          Deprecated. 0.5 replaced by new SAX inspired API
protected  void AbstractBeanWriter.writeRestOfElement(java.lang.String qualifiedName, ElementDescriptor elementDescriptor, Context context)
          Deprecated. 0.5 replaced by new SAX inspired API
 

Constructors in org.apache.commons.betwixt.io with parameters of type Context
BeanCreateRule(ElementDescriptor descriptor, Context context, java.lang.String pathPrefix)
          Deprecated. Convenience constructor which uses ID's for match.
BeanCreateRule(ElementDescriptor descriptor, Context context, java.lang.String pathPrefix, boolean matchIDs)
          Deprecated. Constructor taking a context.
BeanRuleSet(XMLIntrospector introspector, java.lang.String basePath, ElementDescriptor baseElementDescriptor, java.lang.Class baseBeanClass, Context context)
          Deprecated. 0.5 use the constructor which takes a ReadContext instead
BeanRuleSet(XMLIntrospector introspector, java.lang.String basePath, ElementDescriptor baseElementDescriptor, Context context)
          Deprecated. 0.6 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(Context context, 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
abstract  java.lang.Object IdStoringStrategy.getReferenced(Context context, java.lang.String id)
          Gets an object matching the given reference.
 java.lang.Object DefaultIdStoringStrategy.getReferenced(Context context, java.lang.String id)
          Gets an object matching the given reference.
abstract  java.lang.String IdStoringStrategy.getReferenceFor(Context context, java.lang.Object bean)
          Retrieves a reference for the given instance.
 java.lang.String DefaultIdStoringStrategy.getReferenceFor(Context context, java.lang.Object bean)
          Returns a String id for the given bean if it has been stored previously.
 java.lang.String ObjectStringConverter.objectToString(java.lang.Object object, java.lang.Class type, Context context)
          Converts an object to a string representation.
 java.lang.String ObjectStringConverter.objectToString(java.lang.Object object, java.lang.Class type, java.lang.String flavour, Context context)
          Deprecated. 0.7 use ObjectStringConverter.objectToString(Object, Class, Context) instead. The preferred way to support flavours is by setting the org.apache.commons.betwixt.FLAVOUR option. This can then be retrieved by calling getOptions()
 java.lang.String DefaultObjectStringConverter.objectToString(java.lang.Object object, java.lang.Class type, java.lang.String flavour, Context context)
          Converts an object to a string representation using ConvertUtils.
 java.lang.String ConvertUtilsObjectStringConverter.objectToString(java.lang.Object object, java.lang.Class type, java.lang.String flavour, Context context)
          Converts an object to a string representation using ConvertUtils.
abstract  void IdStoringStrategy.setReference(Context context, java.lang.Object bean, java.lang.String id)
          Stores an instance reference for later retrieval.
 void DefaultIdStoringStrategy.setReference(Context context, java.lang.Object bean, java.lang.String id)
          Stores an ID for the given instance and context.
 java.lang.Object ObjectStringConverter.stringToObject(java.lang.String value, java.lang.Class type, Context context)
          Converts a string representation to an object.
 java.lang.Object ObjectStringConverter.stringToObject(java.lang.String value, java.lang.Class type, java.lang.String flavour, Context context)
          Deprecated. 0.7 use ObjectStringConverter.stringToObject(String, Class, Context) instead. The preferred way to support flavours is by setting the org.apache.commons.betwixt.FLAVOUR option. This can then be retrieved by calling getOptions()
 java.lang.Object DefaultObjectStringConverter.stringToObject(java.lang.String value, java.lang.Class type, java.lang.String flavour, 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, Context context)
          Converts an object to a string representation using ConvertUtils.
 



Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.