public class ValidationDecoratorWrapper extends Object implements ValidationDecorator
ValidationDecorator that delegates all method invocations. Subclasses
may override any of the methods.| Constructor and Description |
|---|
ValidationDecoratorWrapper(ValidationDecorator delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterField(Field field)
Invoked after the field has completed rendering itself.
|
void |
afterLabel(Field field)
Invoked by
Label after rendering itself. |
void |
beforeField(Field field)
Renders immediately before the field itself.
|
void |
beforeLabel(Field field)
Invoked by a
Label before rendering itself. |
void |
insideField(Field field)
Invoked at a point where the decorator may write additional attributes into the field.
|
void |
insideLabel(Field field,
Element labelElement)
Invoked after the label has rendered its tag, but before it has rendered content inside the tag, to allow the
decorator to write additional attributes.
|
public ValidationDecoratorWrapper(ValidationDecorator delegate)
public void beforeLabel(Field field)
ValidationDecoratorLabel before rendering itself.beforeLabel in interface ValidationDecoratorfield - for this labelpublic void insideLabel(Field field, Element labelElement)
ValidationDecoratorinsideLabel in interface ValidationDecoratorfield - the field corresponding to the labellabelElement - the element for this labelpublic void afterLabel(Field field)
ValidationDecoratorLabel after rendering itself.afterLabel in interface ValidationDecoratorpublic void beforeField(Field field)
ValidationDecoratorbeforeField in interface ValidationDecoratorpublic void insideField(Field field)
ValidationDecoratorinsideField in interface ValidationDecoratorpublic void afterField(Field field)
ValidationDecoratorafterField in interface ValidationDecorator5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.