| 
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.persistence.jaxb.JAXBValidator
public class JAXBValidator
Facilitates JAXBValidation.
| Constructor Summary | |
|---|---|
JAXBValidator(XMLValidator newValidator)
This constructor creates a DefaultValidationEventHandlervalidation instance, and sets the XMLMarshaller instance to the one provided.  | 
|
| Method Summary | |
|---|---|
 javax.xml.bind.ValidationEventHandler | 
getEventHandler()
 | 
 java.lang.Object | 
getProperty(java.lang.String key)
 | 
 void | 
setEventHandler(javax.xml.bind.ValidationEventHandler newValidationEventHandler)
 | 
 void | 
setProperty(java.lang.String key,
            java.lang.Object value)
 | 
 boolean | 
validate(java.lang.Object object)
Validate a non-root object against a schema.  | 
 boolean | 
validateRoot(java.lang.Object rootObject)
Validate a root object against a schema.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public JAXBValidator(XMLValidator newValidator)
newXMLMarshaller - | Method Detail | 
|---|
public boolean validateRoot(java.lang.Object rootObject)
                     throws javax.xml.bind.JAXBException
validateRoot in interface javax.xml.bind.ValidatorrootObject - - the root object to be validated
javax.xml.bind.JAXBException
public boolean validate(java.lang.Object object)
                 throws javax.xml.bind.JAXBException
validate in interface javax.xml.bind.Validatorobject - - the object to be validated
javax.xml.bind.JAXBException
public void setEventHandler(javax.xml.bind.ValidationEventHandler newValidationEventHandler)
                     throws javax.xml.bind.JAXBException
setEventHandler in interface javax.xml.bind.Validatorjavax.xml.bind.JAXBException
public javax.xml.bind.ValidationEventHandler getEventHandler()
                                                      throws javax.xml.bind.JAXBException
getEventHandler in interface javax.xml.bind.Validatorjavax.xml.bind.JAXBException
public void setProperty(java.lang.String key,
                        java.lang.Object value)
                 throws javax.xml.bind.PropertyException
setProperty in interface javax.xml.bind.Validatorjavax.xml.bind.PropertyException
public java.lang.Object getProperty(java.lang.String key)
                             throws javax.xml.bind.PropertyException
getProperty in interface javax.xml.bind.Validatorjavax.xml.bind.PropertyException
  | 
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||