public class SafeHtmlValidator extends Object implements ConstraintValidator<SafeHtml,CharSequence>
Constructor and Description |
---|
SafeHtmlValidator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(SafeHtml constraintAnn) |
boolean |
isValid(CharSequence value,
ConstraintValidatorContext context) |
public void initialize(SafeHtml constraintAnn)
initialize
in interface ConstraintValidator<SafeHtml,CharSequence>
public boolean isValid(CharSequence value, ConstraintValidatorContext context)
isValid
in interface ConstraintValidator<SafeHtml,CharSequence>
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved