org.ocpsoft.rewrite.servlet.impl
Class EvaluationContextImpl
java.lang.Object
org.ocpsoft.rewrite.context.ContextBase
org.ocpsoft.rewrite.servlet.impl.EvaluationContextImpl
- All Implemented Interfaces:
- Context, EvaluationContext
public class EvaluationContextImpl
- extends ContextBase
- implements EvaluationContext
- Author:
- Lincoln Baxter, III
EvaluationContextImpl
public EvaluationContextImpl()
addPreOperation
public void addPreOperation(Operation operation)
- Specified by:
addPreOperation in interface EvaluationContext
addPostOperation
public void addPostOperation(Operation operation)
- Specified by:
addPostOperation in interface EvaluationContext
getPreOperations
public List<Operation> getPreOperations()
- Get an immutable view of the added pre-
Operation instances.
getPostOperations
public List<Operation> getPostOperations()
- Get an immutable view of the added post-
Operation instances.
toString
public String toString()
- Overrides:
toString in class ContextBase
clear
public void clear()
- Clears the state of this context so that it may be reused, saving instantiation cost during rule iteration.
Copyright © 2013 OCPsoft. All Rights Reserved.