|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SieveHandler
Presents a high level reporting view of a Sieve node tree.
Familiarity with
Sieve is assumed
(but not of the internals of the
JSieve implementation).
Anyone who requires a low level, JSieve
specific view
should see NodeHandler
NodeTraverser
,
NodeHandler
Nested Class Summary | |
---|---|
static class |
SieveHandler.Base
Convenience basic implementation. |
Method Summary | |
---|---|
SieveHandler |
argument(int number)
Handler a numeric argument. |
SieveHandler |
argument(java.lang.String identifier)
Handles a tag argument. |
SieveHandler |
endArguments()
Handles the end of a block of arguments. |
SieveHandler |
endBlock()
Handles the end of a block. |
SieveHandler |
endCommand(java.lang.String commandName)
Handles the end of a command. |
SieveHandler |
endCommands()
Handles the end of a block of commands. |
SieveHandler |
endScript()
Handles the end of a Sieve script. |
SieveHandler |
endStringListArgument()
Handles the end of an argument which is a list of strings. |
SieveHandler |
endTest(java.lang.String testName)
Handles the end of a test. |
SieveHandler |
endTestList()
Handles the end of a list of tests. |
SieveHandler |
listMember(java.lang.String string)
One string from a list. |
SieveHandler |
startArguments()
Handles the start of a block of arguments. |
SieveHandler |
startBlock()
Handles the start of a block. |
SieveHandler |
startCommand(java.lang.String commandName)
Handles the start of a command. |
SieveHandler |
startCommands()
Handles the start of a block of commands. |
SieveHandler |
startScript()
Handles the start of a Sieve script. |
SieveHandler |
startStringListArgument()
Handles the start of an argument which is a list of strings. |
SieveHandler |
startTest(java.lang.String testName)
Handles the start of a test. |
SieveHandler |
startTestList()
Handles the start of a list of tests. |
Method Detail |
---|
SieveHandler startScript() throws HaltTraversalException
HaltTraversalException
SieveHandler endScript() throws HaltTraversalException
HaltTraversalException
SieveHandler startBlock() throws HaltTraversalException
HaltTraversalException
SieveHandler endBlock() throws HaltTraversalException
HaltTraversalException
SieveHandler startCommands() throws HaltTraversalException
HaltTraversalException
SieveHandler endCommands() throws HaltTraversalException
HaltTraversalException
SieveHandler startCommand(java.lang.String commandName) throws HaltTraversalException
commandName
- name identifying the command
HaltTraversalException
SieveHandler endCommand(java.lang.String commandName) throws HaltTraversalException
commandName
- name identifying the command
HaltTraversalException
SieveHandler startArguments() throws HaltTraversalException
HaltTraversalException
SieveHandler endArguments() throws HaltTraversalException
HaltTraversalException
SieveHandler argument(java.lang.String identifier) throws HaltTraversalException
identifier
- not null
HaltTraversalException
SieveHandler argument(int number) throws HaltTraversalException
number
- not null
HaltTraversalException
SieveHandler startStringListArgument() throws HaltTraversalException
HaltTraversalException
SieveHandler endStringListArgument() throws HaltTraversalException
HaltTraversalException
SieveHandler listMember(java.lang.String string) throws HaltTraversalException
string
- not null
HaltTraversalException
SieveHandler startTestList() throws HaltTraversalException
HaltTraversalException
SieveHandler endTestList() throws HaltTraversalException
HaltTraversalException
SieveHandler startTest(java.lang.String testName) throws HaltTraversalException
testName
- name identifying the test
HaltTraversalException
SieveHandler endTest(java.lang.String testName) throws HaltTraversalException
testName
- name identifying the test
HaltTraversalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |