org.apache.jsieve
Class SieveContext

java.lang.Object
  extended by org.apache.jsieve.SieveContext
Direct Known Subclasses:
BaseSieveContext

public abstract class SieveContext
extends java.lang.Object

Context for sieve operations.


Constructor Summary
SieveContext()
           
 
Method Summary
abstract  ExecutableCommand getCommand(java.lang.String name)
           
abstract  CommandStateManager getCommandStateManager()
           
abstract  Comparator getComparator(java.lang.String name)
           
abstract  ConditionManager getConditionManager()
           
abstract  ScriptCoordinate getCoordinate()
          Gets the script position of the current operation.
abstract  org.apache.commons.logging.Log getLog()
           
abstract  ExecutableTest getTest(java.lang.String name)
           
abstract  void setConditionManager(ConditionManager manager)
           
abstract  void setCoordinate(ScriptCoordinate coordinate)
          Sets the script position of the current operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SieveContext

public SieveContext()
Method Detail

getCoordinate

public abstract ScriptCoordinate getCoordinate()
Gets the script position of the current operation.

Returns:
ScriptCoordinate, not null

setCoordinate

public abstract void setCoordinate(ScriptCoordinate coordinate)
Sets the script position of the current operation.

Parameters:
coordinate - ScriptCoordinate, not null

getCommandStateManager

public abstract CommandStateManager getCommandStateManager()

getConditionManager

public abstract ConditionManager getConditionManager()

setConditionManager

public abstract void setConditionManager(ConditionManager manager)

getCommand

public abstract ExecutableCommand getCommand(java.lang.String name)
                                      throws LookupException
Throws:
LookupException

getComparator

public abstract Comparator getComparator(java.lang.String name)
                                  throws LookupException
Throws:
LookupException

getTest

public abstract ExecutableTest getTest(java.lang.String name)
                                throws LookupException
Throws:
LookupException

getLog

public abstract org.apache.commons.logging.Log getLog()


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.