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 behaviour.of the XMLIntrospector  
 

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

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.writeRestOfElement(java.lang.String qualifiedName, 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.writeAttributes(ElementDescriptor elementDescriptor, Context context)
          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
 

Constructors in org.apache.commons.betwixt.io with parameters of type Context
BeanRuleSet(XMLIntrospector introspector, java.lang.String basePath, ElementDescriptor baseElementDescriptor, Context context)
          Deprecated. 0.6 use the constructor which takes a ReadContext instead
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
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.
 

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
 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.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.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.
 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.
 java.lang.String ObjectStringConverter.objectToString(java.lang.Object object, java.lang.Class type, java.lang.String flavour, 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, Context context)
          Converts a string representation to an object.
 



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