|
XProperties 1.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.properties.AbstractPropertyProcessor
A property processor is used to process each read property key and value. Property processors may be chained. Each property processor may change the key or value or stop further processing for the given property.
| Constructor Summary | |
protected |
AbstractPropertyProcessor()
|
protected |
AbstractPropertyProcessor(AbstractPropertyProcessor next)
|
| Method Summary | |
protected abstract boolean |
doProcessProperty(PropertyData data,
Property property)
process a property with this property processor |
boolean |
processProperty(PropertyData data,
Property property)
process a property with this property processor |
void |
setNextProcessor(AbstractPropertyProcessor next)
sets a processor which will be called if this processor successfully processed a property |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected AbstractPropertyProcessor()
protected AbstractPropertyProcessor(AbstractPropertyProcessor next)
| Method Detail |
public void setNextProcessor(AbstractPropertyProcessor next)
next - the next processor (in the chain)
public boolean processProperty(PropertyData data,
Property property)
throws PropertyException
data - the property data object for access to other properties for evaluationproperty - the property which shall be processed
PropertyException
protected abstract boolean doProcessProperty(PropertyData data,
Property property)
throws PropertyException
data - the property data object for access to other properties for evaluationproperty - the property which shall be processed
PropertyException
|
XProperties 1.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||