org.apache.tapestry.valid
Class MockDelegate
java.lang.Object
org.apache.tapestry.valid.ValidationDelegate
org.apache.tapestry.valid.MockDelegate
- All Implemented Interfaces:
- Serializable, IValidationDelegate
public class MockDelegate
- extends ValidationDelegate
Mock implementation of IValidationDelegate
used to test
decoration.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
- See Also:
- Serialized Form
Method Summary |
void |
afterLabelText(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component)
|
void |
beforeLabelText(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component)
|
void |
writeAttributes(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
|
void |
writeLabelPrefix(IFormComponent component,
IMarkupWriter writer,
IRequestCycle cycle)
|
void |
writeLabelSuffix(IFormComponent component,
IMarkupWriter writer,
IRequestCycle cycle)
|
void |
writePrefix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
|
void |
writeSuffix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
|
Methods inherited from class org.apache.tapestry.valid.ValidationDelegate |
clear, clearErrors, findCurrentTracking, getAssociatedTrackings, getComponentTracking, getCurrentFieldTracking, getErrorRenderers, getFieldInputValue, getFieldTracking, getFieldTracking, getFirstError, getFocusField, getHasErrors, getUnassociatedTrackings, isInError, isInError, record, record, record, record, recordFieldInputValue, registerForFocus, reset, setFormComponent, writeLabelAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockDelegate
public MockDelegate()
writeLabelPrefix
public void writeLabelPrefix(IFormComponent component,
IMarkupWriter writer,
IRequestCycle cycle)
- Specified by:
writeLabelPrefix
in interface IValidationDelegate
- Overrides:
writeLabelPrefix
in class ValidationDelegate
writeAttributes
public void writeAttributes(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
- Specified by:
writeAttributes
in interface IValidationDelegate
- Overrides:
writeAttributes
in class ValidationDelegate
writeLabelSuffix
public void writeLabelSuffix(IFormComponent component,
IMarkupWriter writer,
IRequestCycle cycle)
- Specified by:
writeLabelSuffix
in interface IValidationDelegate
- Overrides:
writeLabelSuffix
in class ValidationDelegate
writePrefix
public void writePrefix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
- Specified by:
writePrefix
in interface IValidationDelegate
- Overrides:
writePrefix
in class ValidationDelegate
writeSuffix
public void writeSuffix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
- Specified by:
writeSuffix
in interface IValidationDelegate
- Overrides:
writeSuffix
in class ValidationDelegate
beforeLabelText
public void beforeLabelText(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component)
-
- Specified by:
beforeLabelText
in interface IValidationDelegate
- Overrides:
beforeLabelText
in class ValidationDelegate
afterLabelText
public void afterLabelText(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component)
-
- Specified by:
afterLabelText
in interface IValidationDelegate
- Overrides:
afterLabelText
in class ValidationDelegate
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.