Class ValidatorImpl
- java.lang.Object
-
- com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.ValidatorImpl
-
- All Implemented Interfaces:
javax.xml.bind.Validator
public class ValidatorImpl extends Object implements javax.xml.bind.Validator
Validator implementation of JAXB RI.
-
-
Constructor Summary
Constructors Constructor Description ValidatorImpl(DefaultJAXBContextImpl c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.bind.ValidationEventHandlergetEventHandler()ObjectgetProperty(String name)There are no required properties, so simply throw an exception.voidsetEventHandler(javax.xml.bind.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 javax.xml.bind.ValidationException
- Specified by:
validateRootin interfacejavax.xml.bind.Validator- Throws:
javax.xml.bind.ValidationException
-
validate
public boolean validate(Object o) throws javax.xml.bind.ValidationException
- Specified by:
validatein interfacejavax.xml.bind.Validator- Throws:
javax.xml.bind.ValidationException
-
getEventHandler
public javax.xml.bind.ValidationEventHandler getEventHandler()
- Specified by:
getEventHandlerin interfacejavax.xml.bind.Validator
-
setEventHandler
public void setEventHandler(javax.xml.bind.ValidationEventHandler handler)
- Specified by:
setEventHandlerin interfacejavax.xml.bind.Validator
-
setProperty
public void setProperty(String name, Object value) throws javax.xml.bind.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 interfacejavax.xml.bind.Validator- Throws:
javax.xml.bind.PropertyException
-
getProperty
public Object getProperty(String name) throws javax.xml.bind.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 interfacejavax.xml.bind.Validator- Throws:
javax.xml.bind.PropertyException
-
-