com.uwyn.rife.cmf.validation
Class SupportedXhtml
java.lang.Object
com.uwyn.rife.site.AbstractValidationRule
com.uwyn.rife.site.PropertyValidationRule
com.uwyn.rife.cmf.validation.CmfPropertyValidationRule
com.uwyn.rife.cmf.validation.SupportedXhtml
- All Implemented Interfaces:
- ValidationRule, Cloneable
public class SupportedXhtml
- extends CmfPropertyValidationRule
A validation rule that checks if the data in a property is able to be
loaded as supported and valid xhtml without errors.
- Since:
- 1.0
- Version:
- $Revision: 3634 $
- Author:
- Geert Bevin (gbevin[remove] at uwyn dot com)
|
Constructor Summary |
SupportedXhtml(String propertyName,
boolean fragment)
Instantiates a new SupportedXhtml instance. |
SupportedXhtml
public SupportedXhtml(String propertyName,
boolean fragment)
- Instantiates a new
SupportedXhtml instance.
- Parameters:
propertyName - the name of the propertyfragment - true if the property is a fragment; or
false if it's a complete document
- Since:
- 1.0
validate
public boolean validate()
- Specified by:
validate in interface ValidationRule- Specified by:
validate in class AbstractValidationRule
getError
public ValidationError getError()
- Specified by:
getError in interface ValidationRule- Specified by:
getError in class AbstractValidationRule
Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.