de.knipp.rritoolkit.response
Interface ErrorPattern

All Known Implementing Classes:
GroupPattern, SimplePattern

public interface ErrorPattern

interface to and implementations of classes that are able to match certain error code patterns

Version:
$Revision: 14936 $
Author:
Klaus Malorny

Method Summary
 void accept(ErrorPatternVisitor visitor)
          accept a visitor
 boolean matches(ErrorCode code)
          test whether the given error code matches the pattern
 

Method Detail

matches

boolean matches(ErrorCode code)
test whether the given error code matches the pattern

Parameters:
code - the code to test, may be null
Returns:
true if it matches

accept

void accept(ErrorPatternVisitor visitor)
accept a visitor

Parameters:
visitor - the visitor


Copyright © 2005-2011 Knipp Medien und Kommunikation GmbH