public class XmlFieldValidator extends Object
Constructor and Description |
---|
XmlFieldValidator() |
Modifier and Type | Method and Description |
---|---|
void |
ensureValidation(Object xmlFieldObject) |
void |
ensureValidation(Object xmlFieldObject,
Class<?> group) |
Set<ConstraintViolation<Object>> |
validate(Object xmlFieldObject) |
Set<ConstraintViolation<Object>> |
validate(Object xmlFieldObject,
Class<?> group) |
public void ensureValidation(Object xmlFieldObject, Class<?> group) throws XmlFieldValidationException, IllegalArgumentException, IllegalAccessException, InvocationTargetException
public void ensureValidation(Object xmlFieldObject) throws XmlFieldValidationException, IllegalArgumentException, IllegalAccessException, InvocationTargetException
public Set<ConstraintViolation<Object>> validate(Object xmlFieldObject) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
public Set<ConstraintViolation<Object>> validate(Object xmlFieldObject, Class<?> group) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
Copyright © 2011–2014. All rights reserved.