org.apache.jsieve
Class Block

java.lang.Object
  extended byorg.apache.jsieve.Block
All Implemented Interfaces:
Executable

public class Block
extends java.lang.Object
implements Executable

A parsed representation of the RFC3028 BNF...

block = "{" commands "}"


Constructor Summary
Block(Commands commands)
          Constructor for Block.
 
Method Summary
 java.lang.Object execute(MailAdapter mail)
           
 Commands getChildren()
          Returns the commands.
protected  void setChildren(Commands commands)
          Sets the commands.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Block

public Block(Commands commands)
Constructor for Block.

Parameters:
commands -
Method Detail

getChildren

public Commands getChildren()
Returns the commands.

Returns:
Commands

setChildren

protected void setChildren(Commands commands)
Sets the commands.

Parameters:
commands - The commands to set

execute

public java.lang.Object execute(MailAdapter mail)
                         throws SieveException
Specified by:
execute in interface Executable
Throws:
SieveException
See Also:
Executable.execute(MailAdapter)

toString

public java.lang.String toString()


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