XProperties 1.0.3

at.spardat.properties.processor
Class ConditionProcessor

java.lang.Object
  extended byat.spardat.properties.AbstractPropertyProcessor
      extended byat.spardat.properties.processor.ConditionProcessor

public class ConditionProcessor
extends AbstractPropertyProcessor

processes conditions of the form "@cond_key1=cond_val1,cond_val2&cond_key2=cond_val3?key=value"


Field Summary
static java.lang.String ENVIRONMENT_PROPERTY_NAME
           
 
Constructor Summary
ConditionProcessor()
           
 
Method Summary
protected  boolean doProcessProperty(PropertyData data, Property property)
          process a property with this property processor
 
Methods inherited from class at.spardat.properties.AbstractPropertyProcessor
processProperty, setNextProcessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENVIRONMENT_PROPERTY_NAME

public static final java.lang.String ENVIRONMENT_PROPERTY_NAME
See Also:
Constant Field Values
Constructor Detail

ConditionProcessor

public ConditionProcessor()
Method Detail

doProcessProperty

protected boolean doProcessProperty(PropertyData data,
                                    Property property)
                             throws PropertyException
Description copied from class: AbstractPropertyProcessor
process a property with this property processor

Specified by:
doProcessProperty in class AbstractPropertyProcessor
Parameters:
data - the property data object for access to other properties for evaluation
property - the property which shall be processed
Returns:
true if the process in this module was successfull. False if the process failed.
Throws:
PropertyException
See Also:
AbstractPropertyProcessor.doProcessProperty(at.spardat.properties.PropertyData, at.spardat.properties.Property)

XProperties 1.0.3