Class ValidatorImpl
- java.lang.Object
-
- com.sun.identity.saml2.jaxb.assertion.impl.runtime.ValidatorImpl
-
-
Constructor Summary
Constructors Constructor Description ValidatorImpl(DefaultJAXBContextImpl c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationEventHandlergetEventHandler()ObjectgetProperty(String name)There are no required properties, so simply throw an exception.voidsetEventHandler(ValidationEventHandler handler)voidsetProperty(String name, Object value)There are no required properties, so simply throw an exception.booleanvalidate(Object o)booleanvalidateRoot(Object o)
-
-
-
Constructor Detail
-
ValidatorImpl
public ValidatorImpl(DefaultJAXBContextImpl c)
-
-
Method Detail
-
validateRoot
public boolean validateRoot(Object o) throws ValidationException
- Specified by:
validateRootin interfaceValidator- Throws:
ValidationException
-
validate
public boolean validate(Object o) throws ValidationException
- Specified by:
validatein interfaceValidator- Throws:
ValidationException
-
getEventHandler
public ValidationEventHandler getEventHandler()
- Specified by:
getEventHandlerin interfaceValidator
-
setEventHandler
public void setEventHandler(ValidationEventHandler handler)
- Specified by:
setEventHandlerin interfaceValidator
-
setProperty
public void setProperty(String name, Object value) throws PropertyException
There are no required properties, so simply throw an exception. Other providers may have support for properties on Validator, but the RI doesn't- Specified by:
setPropertyin interfaceValidator- Throws:
PropertyException
-
getProperty
public Object getProperty(String name) throws PropertyException
There are no required properties, so simply throw an exception. Other providers may have support for properties on Validator, but the RI doesn't- Specified by:
getPropertyin interfaceValidator- Throws:
PropertyException
-
-