A B C D E G H I L N O P R S T U X

A

addAction(Action) - Method in class org.apache.jsieve.util.check.ScriptCheckMailAdapter
Method addAction adds an Action to the List of Actions to be performed by the receiver.
argument(String) - Method in interface org.apache.jsieve.util.SieveHandler
Handles a tag argument.
argument(int) - Method in interface org.apache.jsieve.util.SieveHandler
Handler a numeric argument.
argument(int) - Method in class org.apache.jsieve.util.SieveHandler.Base
 
argument(String) - Method in class org.apache.jsieve.util.SieveHandler.Base
 
attribute(CharSequence, CharSequence, CharSequence, CharSequence) - Method in interface org.apache.jsieve.util.SieveToXml.Out
Outputs a attribute.
attribute(CharSequence, CharSequence) - Method in class org.apache.jsieve.util.XmlOut
Writes an attribute of an element.
attribute(CharSequence, CharSequence, CharSequence, CharSequence) - Method in class org.apache.jsieve.util.XmlOut
 

B

build(SieveToXml.Out) - Method in class org.apache.jsieve.util.SieveToXml
Builds a handler to writes to the given output.
build(Writer) - Method in class org.apache.jsieve.util.ToSieveHandlerFactory
Builds a configured handler.

C

check(File, File) - Method in class org.apache.jsieve.util.check.ScriptChecker
Checks the sieve script contained in the given file by executing it against the given message.
check(InputStream, InputStream) - Method in class org.apache.jsieve.util.check.ScriptChecker
Checks the sieve script contained in the given file by executing it against the given message.
closeDocument() - Method in class org.apache.jsieve.util.XmlOut
Closes all pending elements.
closeElement() - Method in interface org.apache.jsieve.util.SieveToXml.Out
Ends an XML Element.
closeElement() - Method in class org.apache.jsieve.util.XmlOut
Closes the last element written.
content(CharSequence) - Method in interface org.apache.jsieve.util.SieveToXml.Out
Outputs body text.
content(CharSequence) - Method in class org.apache.jsieve.util.XmlOut
Writes content.
CONTROL_COMMANDS - Static variable in class org.apache.jsieve.util.SieveToXml
Control commands (as listed in RFC 3028)

D

DEFAULT_NAME_ACTION_COMMAND - Static variable in class org.apache.jsieve.util.SieveToXml
 
DEFAULT_NAME_ATTRIBUTE - Static variable in class org.apache.jsieve.util.SieveToXml
 
DEFAULT_NAME_CONTROL_COMMAND - Static variable in class org.apache.jsieve.util.SieveToXml
 
DEFAULT_NAME_LIST - Static variable in class org.apache.jsieve.util.SieveToXml
 
DEFAULT_NAME_NUM - Static variable in class org.apache.jsieve.util.SieveToXml
 
DEFAULT_NAME_STRING - Static variable in class org.apache.jsieve.util.SieveToXml
 
DEFAULT_NAME_TAG - Static variable in class org.apache.jsieve.util.SieveToXml
 
DEFAULT_NAME_TEST - Static variable in class org.apache.jsieve.util.SieveToXml
 
DEFAULT_NAMESPACE - Static variable in class org.apache.jsieve.util.SieveToXml
 
DEFAULT_PREFIX - Static variable in class org.apache.jsieve.util.SieveToXml
 

E

end() - Method in interface org.apache.jsieve.util.NodeHandler
Ends a tree traveral.
end(SimpleNode) - Method in interface org.apache.jsieve.util.NodeHandler
Ends traversal of given node.
end(ASTstart) - Method in interface org.apache.jsieve.util.NodeHandler
Ends traversal of given node.
end(ASTcommands) - Method in interface org.apache.jsieve.util.NodeHandler
Ends traversal of given node.
end(ASTcommand) - Method in interface org.apache.jsieve.util.NodeHandler
Ends traversal of given node.
end(ASTblock) - Method in interface org.apache.jsieve.util.NodeHandler
Ends traversal of given node.
end(ASTarguments) - Method in interface org.apache.jsieve.util.NodeHandler
Ends traversal of given node.
end(ASTargument) - Method in interface org.apache.jsieve.util.NodeHandler
Ends traversal of given node.
end(ASTtest) - Method in interface org.apache.jsieve.util.NodeHandler
Ends traversal of given node.
end(ASTtest_list) - Method in interface org.apache.jsieve.util.NodeHandler
Ends traversal of given node.
end(ASTstring) - Method in interface org.apache.jsieve.util.NodeHandler
Ends traversal of given node.
end(ASTstring_list) - Method in interface org.apache.jsieve.util.NodeHandler
Ends traversal of given node.
end() - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
end(SimpleNode) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
end(ASTstart) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
end(ASTcommands) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
end(ASTcommand) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
end(ASTblock) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
end(ASTarguments) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
end(ASTargument) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
end(ASTtest) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
end(ASTtest_list) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
end(ASTstring) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
end(ASTstring_list) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
endArguments() - Method in class org.apache.jsieve.util.SieveHandler.Base
 
endArguments() - Method in interface org.apache.jsieve.util.SieveHandler
Handles the end of a block of arguments.
endBlock() - Method in class org.apache.jsieve.util.SieveHandler.Base
 
endBlock() - Method in interface org.apache.jsieve.util.SieveHandler
Handles the end of a block.
endCommand(String) - Method in class org.apache.jsieve.util.SieveHandler.Base
 
endCommand(String) - Method in interface org.apache.jsieve.util.SieveHandler
Handles the end of a command.
endCommands() - Method in class org.apache.jsieve.util.SieveHandler.Base
 
endCommands() - Method in interface org.apache.jsieve.util.SieveHandler
Handles the end of a block of commands.
endScript() - Method in class org.apache.jsieve.util.SieveHandler.Base
 
endScript() - Method in interface org.apache.jsieve.util.SieveHandler
Handles the end of a Sieve script.
endStringListArgument() - Method in class org.apache.jsieve.util.SieveHandler.Base
 
endStringListArgument() - Method in interface org.apache.jsieve.util.SieveHandler
Handles the end of an argument which is a list of strings.
endTest(String) - Method in class org.apache.jsieve.util.SieveHandler.Base
 
endTest(String) - Method in interface org.apache.jsieve.util.SieveHandler
Handles the end of a test.
endTestList() - Method in class org.apache.jsieve.util.SieveHandler.Base
 
endTestList() - Method in interface org.apache.jsieve.util.SieveHandler
Handles the end of a list of tests.
executeActions() - Method in class org.apache.jsieve.util.check.ScriptCheckMailAdapter
Method executeActions.

G

getActions() - Method in class org.apache.jsieve.util.check.ScriptCheckMailAdapter
Method getActions answers the List of Actions accumulated by the receiver.
getActionsExecuted() - Method in class org.apache.jsieve.util.check.ScriptChecker.Results
Gets the actions executed by the script.
getCommandNameMapper() - Method in class org.apache.jsieve.util.SieveToXml
Gets mapper for command names.
getContentType() - Method in class org.apache.jsieve.util.check.ScriptCheckMailAdapter
Method getContentType returns string/mime representation of the message type.
getException() - Method in class org.apache.jsieve.util.check.ScriptChecker.Results
Gets the exception which was thrown during execution.
getExecutedActions() - Method in class org.apache.jsieve.util.check.ScriptCheckMailAdapter
Gets the actions accumulated when ScriptCheckMailAdapter.executedActions was last called.
getHeader(String) - Method in class org.apache.jsieve.util.check.ScriptCheckMailAdapter
Method getHeader answers a List of all of the headers in the receiver whose name is equal to the passed name.
getHeaderNames() - Method in class org.apache.jsieve.util.check.ScriptCheckMailAdapter
Method getHeaderNames answers a List of all of the headers in the receiver.
getListElementName() - Method in class org.apache.jsieve.util.SieveToXml
Gets the element name used for lists.
getMail() - Method in class org.apache.jsieve.util.check.ScriptCheckMailAdapter
Gets the wrapped email.
getMatchingHeader(String) - Method in class org.apache.jsieve.util.check.ScriptCheckMailAdapter
Method getMatchingHeader answers a List of all of the headers in the receiver with the passed name.
getNameAttributeName() - Method in class org.apache.jsieve.util.SieveToXml
Gets the name of the attribute to be used to name command and tests.
getNamespacePrefix() - Method in class org.apache.jsieve.util.SieveToXml
Gets the namespace prefix to be used for all elements and attributes.
getNamespaceUri() - Method in class org.apache.jsieve.util.SieveToXml
Gets the namespace URI to be used for all elements and attributes.
getNumberElementName() - Method in class org.apache.jsieve.util.SieveToXml
Gets the name of the element that wraps a numeric argument.
getSize() - Method in class org.apache.jsieve.util.check.ScriptCheckMailAdapter
Method getSize answers the receiver's message size in octets.
getStringElementName() - Method in class org.apache.jsieve.util.SieveToXml
Gets the name of the element that wraps a string element.
getTagElementName() - Method in class org.apache.jsieve.util.SieveToXml
Gets the name of the element that wraps a tag element.
getTestNameMapper() - Method in class org.apache.jsieve.util.SieveToXml
Gets the mapper for names of test nodes.

H

HaltTraversalException - Exception in org.apache.jsieve.util
Indicators that the node traversal should be abandoned.
HaltTraversalException() - Constructor for exception org.apache.jsieve.util.HaltTraversalException
 
HaltTraversalException(String) - Constructor for exception org.apache.jsieve.util.HaltTraversalException
 
HaltTraversalException(String, Throwable) - Constructor for exception org.apache.jsieve.util.HaltTraversalException
 
HaltTraversalException(Throwable) - Constructor for exception org.apache.jsieve.util.HaltTraversalException
 

I

InvalidXmlException - Exception in org.apache.jsieve.util
 
InvalidXmlException() - Constructor for exception org.apache.jsieve.util.InvalidXmlException
 
InvalidXmlException(String) - Constructor for exception org.apache.jsieve.util.InvalidXmlException
 
isActionFileInto(String, int) - Method in class org.apache.jsieve.util.check.ScriptChecker.Results
Is the n'th action a FileInto with given destination?
isActionKeep(int) - Method in class org.apache.jsieve.util.check.ScriptChecker.Results
Is the n'th action a Keep?
isActionRedirect(String, int) - Method in class org.apache.jsieve.util.check.ScriptChecker.Results
Is the n'th action a Redirect with given address?
isActionReject(String, int) - Method in class org.apache.jsieve.util.check.ScriptChecker.Results
Is the n'th action a Reject with given message?
isInBodyText(String) - Method in class org.apache.jsieve.util.check.ScriptCheckMailAdapter
 
isPass() - Method in class org.apache.jsieve.util.check.ScriptChecker.Results
Is this a pass?

L

listMember(String) - Method in class org.apache.jsieve.util.SieveHandler.Base
 
listMember(String) - Method in interface org.apache.jsieve.util.SieveHandler
One string from a list.

N

NodeHandler - Interface in org.apache.jsieve.util
Presents a low level reporting view of a Sieve node tree.
NodeToSieveAdapter - Class in org.apache.jsieve.util
Adapters low level NodeHandler output into a high level SieveHandler.
NodeToSieveAdapter(SieveHandler) - Constructor for class org.apache.jsieve.util.NodeToSieveAdapter
Constructs an adapter to the given SieveHandler.
NodeTraverser - Class in org.apache.jsieve.util
Traverses nodes.
NodeTraverser() - Constructor for class org.apache.jsieve.util.NodeTraverser
 

O

openElement(CharSequence, CharSequence, CharSequence) - Method in interface org.apache.jsieve.util.SieveToXml.Out
Starts an XML element.
openElement(CharSequence) - Method in class org.apache.jsieve.util.XmlOut
Writes the start of an element.
openElement(CharSequence, CharSequence, CharSequence) - Method in class org.apache.jsieve.util.XmlOut
 
OperationNotAllowedException - Exception in org.apache.jsieve.util
 
OperationNotAllowedException() - Constructor for exception org.apache.jsieve.util.OperationNotAllowedException
 
OperationNotAllowedException(String) - Constructor for exception org.apache.jsieve.util.OperationNotAllowedException
 
org.apache.jsieve.util - package org.apache.jsieve.util
Useful utilities for Sieve.
org.apache.jsieve.util.check - package org.apache.jsieve.util.check
This package contains the ScriptCheckMailAdapter MailAdapter implementation.
OutputUtils - Class in org.apache.jsieve.util
Output utilities.
OutputUtils() - Constructor for class org.apache.jsieve.util.OutputUtils
 

P

parseAddresses(String) - Method in class org.apache.jsieve.util.check.ScriptCheckMailAdapter
 
parseAddresses(String, Message) - Method in class org.apache.jsieve.util.check.ScriptCheckMailAdapter
Parses the value from the given message into addresses.

R

reset() - Method in class org.apache.jsieve.util.check.ScriptCheckMailAdapter
Resets executed and accumlated actions.

S

ScriptChecker - Class in org.apache.jsieve.util.check
Checks a sieve script by executing it against a given mail and reporting the results.
ScriptChecker() - Constructor for class org.apache.jsieve.util.check.ScriptChecker
 
ScriptChecker.Results - Class in org.apache.jsieve.util.check
Contains results of script execution.
ScriptChecker.Results(Exception) - Constructor for class org.apache.jsieve.util.check.ScriptChecker.Results
 
ScriptChecker.Results(List) - Constructor for class org.apache.jsieve.util.check.ScriptChecker.Results
 
ScriptCheckMailAdapter - Class in org.apache.jsieve.util.check
Checks script execution for an email.
ScriptCheckMailAdapter() - Constructor for class org.apache.jsieve.util.check.ScriptCheckMailAdapter
 
setCommandNameMapper(SieveToXml.NameMapper) - Method in class org.apache.jsieve.util.SieveToXml
Sets mapper for command names.
setContext(SieveContext) - Method in class org.apache.jsieve.util.check.ScriptCheckMailAdapter
 
setListElementName(String) - Method in class org.apache.jsieve.util.SieveToXml
Sets the element name used for lists.
setMail(Message) - Method in class org.apache.jsieve.util.check.ScriptCheckMailAdapter
Sets the wrapped email and ScriptCheckMailAdapter.reset()s the adapter ready for another execution.
setNameAttributeName(String) - Method in class org.apache.jsieve.util.SieveToXml
Sets the name of the attribute to be used to indicate command and test names.
setNamespacePrefix(String) - Method in class org.apache.jsieve.util.SieveToXml
Sets the namespace prefix to be used for all elements and attributes.
setNamespaceUri(String) - Method in class org.apache.jsieve.util.SieveToXml
Sets the namespace uri to be used for all elements and attributes.
setNumberElementName(String) - Method in class org.apache.jsieve.util.SieveToXml
Sets the name of the element that wraps a numeric argument.
setStringElementName(String) - Method in class org.apache.jsieve.util.SieveToXml
Sets the name of the element that wraps a string element.
setTagElementName(String) - Method in class org.apache.jsieve.util.SieveToXml
Sets the name of the element that wraps a tag element
setTestNameMapper(SieveToXml.NameMapper) - Method in class org.apache.jsieve.util.SieveToXml
Sets the mapper for names of test nodes.
SieveHandler - Interface in org.apache.jsieve.util
Presents a high level reporting view of a Sieve node tree.
SieveHandler.Base - Class in org.apache.jsieve.util
Convenience basic implementation.
SieveHandler.Base() - Constructor for class org.apache.jsieve.util.SieveHandler.Base
 
sieveInXmlMapper() - Static method in class org.apache.jsieve.util.SieveToXml
Creates a mapper which returns values given in draft-freed-sieve-in-xml-01
Sieve Email Filtering: Sieves and display directives in XML.
SieveToXml - Class in org.apache.jsieve.util
Converts Sieve nodes to xml.
SieveToXml() - Constructor for class org.apache.jsieve.util.SieveToXml
 
SieveToXml.NameMapper - Interface in org.apache.jsieve.util
Maps node names to element names.
SieveToXml.Out - Interface in org.apache.jsieve.util
Simple infoset output.
start() - Method in interface org.apache.jsieve.util.NodeHandler
Starts a tree traversal.
start(SimpleNode) - Method in interface org.apache.jsieve.util.NodeHandler
Starts traversal of given node.
start(ASTstart) - Method in interface org.apache.jsieve.util.NodeHandler
Starts traversal of given node.
start(ASTcommands) - Method in interface org.apache.jsieve.util.NodeHandler
Starts traversal of given node.
start(ASTcommand) - Method in interface org.apache.jsieve.util.NodeHandler
Starts traversal of given node.
start(ASTblock) - Method in interface org.apache.jsieve.util.NodeHandler
Starts traversal of given node.
start(ASTarguments) - Method in interface org.apache.jsieve.util.NodeHandler
Starts traversal of given node.
start(ASTargument) - Method in interface org.apache.jsieve.util.NodeHandler
Starts traversal of given node.
start(ASTtest) - Method in interface org.apache.jsieve.util.NodeHandler
Starts traversal of given node.
start(ASTtest_list) - Method in interface org.apache.jsieve.util.NodeHandler
Starts traversal of given node.
start(ASTstring) - Method in interface org.apache.jsieve.util.NodeHandler
Starts traversal of given node.
start(ASTstring_list) - Method in interface org.apache.jsieve.util.NodeHandler
Starts traversal of given node.
start() - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
start(SimpleNode) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
start(ASTstart) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
start(ASTcommands) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
start(ASTcommand) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
start(ASTblock) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
start(ASTarguments) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
start(ASTargument) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
start(ASTtest) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
start(ASTtest_list) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
start(ASTstring) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
start(ASTstring_list) - Method in class org.apache.jsieve.util.NodeToSieveAdapter
 
startArguments() - Method in class org.apache.jsieve.util.SieveHandler.Base
 
startArguments() - Method in interface org.apache.jsieve.util.SieveHandler
Handles the start of a block of arguments.
startBlock() - Method in class org.apache.jsieve.util.SieveHandler.Base
 
startBlock() - Method in interface org.apache.jsieve.util.SieveHandler
Handles the start of a block.
startCommand(String) - Method in class org.apache.jsieve.util.SieveHandler.Base
 
startCommand(String) - Method in interface org.apache.jsieve.util.SieveHandler
Handles the start of a command.
startCommands() - Method in class org.apache.jsieve.util.SieveHandler.Base
 
startCommands() - Method in interface org.apache.jsieve.util.SieveHandler
Handles the start of a block of commands.
startDocument() - Method in class org.apache.jsieve.util.XmlOut
Starts a document by writing a prolog.
startScript() - Method in class org.apache.jsieve.util.SieveHandler.Base
 
startScript() - Method in interface org.apache.jsieve.util.SieveHandler
Handles the start of a Sieve script.
startStringListArgument() - Method in class org.apache.jsieve.util.SieveHandler.Base
 
startStringListArgument() - Method in interface org.apache.jsieve.util.SieveHandler
Handles the start of an argument which is a list of strings.
startTest(String) - Method in class org.apache.jsieve.util.SieveHandler.Base
 
startTest(String) - Method in interface org.apache.jsieve.util.SieveHandler
Handles the start of a test.
startTestList() - Method in class org.apache.jsieve.util.SieveHandler.Base
 
startTestList() - Method in interface org.apache.jsieve.util.SieveHandler
Handles the start of a list of tests.

T

toElementName(String) - Method in interface org.apache.jsieve.util.SieveToXml.NameMapper
Converts the given node name to an element local name.
toSieve(Node, Writer) - Static method in class org.apache.jsieve.util.OutputUtils
Writes the tree rooted at the given node to a Sieve script.
ToSieveHandlerFactory - Class in org.apache.jsieve.util
Builds sieve handlers that convert nodes to a Sieve script.
ToSieveHandlerFactory() - Constructor for class org.apache.jsieve.util.ToSieveHandlerFactory
 
toString() - Method in class org.apache.jsieve.util.check.ScriptChecker.Results
Prints out details of results.
toXml(Node, Writer) - Static method in class org.apache.jsieve.util.OutputUtils
Writes the given node as xml.
toXmlDocument(Node, Writer) - Static method in class org.apache.jsieve.util.OutputUtils
Writes the given node as xml.
traverse(NodeHandler, Node) - Method in class org.apache.jsieve.util.NodeTraverser
Traverses the tree structure rooted at the given node.
traverse(SieveHandler, Node) - Method in class org.apache.jsieve.util.NodeTraverser
Traverses the tree structure rooted at the given node.

U

uniformMapper(String) - Static method in class org.apache.jsieve.util.SieveToXml
Creates a mapper which will return the same name for any node.

X

XmlOut - Class in org.apache.jsieve.util
Lightweight SieveToXml.Out implementation.
XmlOut(Writer) - Constructor for class org.apache.jsieve.util.XmlOut
 

A B C D E G H I L N O P R S T U X

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