|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RulesBinder
The Digester EDSL.
Method Summary | |
---|---|
void |
addError(String messagePattern,
Object... arguments)
Records an error message which will be presented to the user at a later time. |
void |
addError(Throwable t)
Records an exception, the full details of which will be logged, and the message of which will be presented to the user at a later time. |
LinkedRuleBuilder |
forPattern(String pattern)
Allows to associate the given pattern to one or more Digester rules. |
ClassLoader |
getContextClassLoader()
Returns the context ClassLoader . |
void |
install(RulesModule rulesModule)
Allows sub-modules inclusion while binding rules. |
Method Detail |
---|
ClassLoader getContextClassLoader()
ClassLoader
.
ClassLoader
void addError(String messagePattern, Object... arguments)
String.format(String, Object[])
to insert the arguments into the message.
messagePattern
- The message string patternarguments
- Arguments referenced by the format specifiers in the format stringvoid addError(Throwable t)
t
- The exception has to be recorded.void install(RulesModule rulesModule)
rulesModule
- the sub-module has to be included.LinkedRuleBuilder forPattern(String pattern)
pattern
- The pattern that this rule should match
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |