XProperties 1.0.3

at.spardat.properties.processor
Class IncludeProcessor

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

public class IncludeProcessor
extends AbstractPropertyProcessor

this processor is responsible for handling the include of property files with the syntax "@include=path_to_property_file"


Field Summary
static java.lang.String INCLUDE_PRAEFIX
           
 
Constructor Summary
IncludeProcessor()
           
 
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

INCLUDE_PRAEFIX

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

IncludeProcessor

public IncludeProcessor()
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