//************************************************************************** // Filename : ITokenProcessor.java, WSSE Toolkit 2005 // // Author : Denis Pilipchuk // // Purpose : Main processor interface for WSSE's Toolkit. A class is // a processor if it modifies or somehow works with tokens, // created by other entities. // // Disclaimer: This software is provided "as-is" and does not imply // any warranty or responsibility. //**************************************************************************** package wsse.Toolkit.Processors; import wsse.Toolkit.Tokens.WsCompositeToken; import wsse.Toolkit.Tokens.WsToken; import wsse.Toolkit.Tokens.WsTokenException; import wsse.Toolkit.Tokens.Refs.WsTokenRef; import wsse.Toolkit.Tokens.Refs.WsTokenRefException; public interface ITokenProcessor { void AddToken(WsTokenRef ref) throws WsTokenRefException, WsTokenException; void AddToken(WsToken token) throws WsTokenException; // Returns true is the target's XML needs to be refreshed as a result of this processing boolean ProcessTokens(WsCompositeToken target) throws WsProcessorException; }