Package jadex.xml
Interface IPostProcessor
-
- All Known Implementing Classes:
BDIXMLReader.BeliefMultiProc
,BDIXMLReader.GoalMetaProc
,BDIXMLReader.ParamMultiProc
,ComponentXMLReader.ExpressionProcessor
public interface IPostProcessor
Post-processes objects after an XML has been loaded.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Object
DISCARD_OBJECT
If this object is returned by the post-processor, the object will be discarded by the reader.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getPass()
Get the pass number.java.lang.Object
postProcess(IContext context, java.lang.Object object)
Post-process an object after an XML has been loaded.
-
-
-
Method Detail
-
postProcess
java.lang.Object postProcess(IContext context, java.lang.Object object)
Post-process an object after an XML has been loaded.- Parameters:
context
- The context.object
- The object to post process.- Returns:
- A possibly other object for replacing the original. Null for no change. Only possibly when processor is applied in first pass.
-
getPass
int getPass()
Get the pass number.- Returns:
- The pass number (starting with 0 for first pass).
-
-