| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.impl.JMControllerImpl
org.apache.ws.jaxme.impl.JMValidatorImpl
Simple validator implementation. Works by creating a
 Marshaller, which generates SAX events.
 The SAX events are piped into an instance of
 UnmarshallerHandler.
| Field Summary | 
| Fields inherited from class org.apache.ws.jaxme.impl.JMControllerImpl | 
| eventHandler, JAXME_DATATYPE_CONVERTER, JAXME_FORMAT_DATE, JAXME_FORMAT_DATETIME, JAXME_FORMAT_TIME, JAXME_PRIVATE | 
| Constructor Summary | |
| JMValidatorImpl() | |
| Method Summary | |
|  boolean | validate(java.lang.Object pObject)Validates the given JAXB object, invoking its error handler for any problems it detects. | 
|  boolean | validateRoot(java.lang.Object pObject)Validates the given JAXB object, but not its child elements. | 
| Methods inherited from class org.apache.ws.jaxme.impl.JMControllerImpl | 
| getDatatypeConverter, getDateFormat, getDateTimeFormat, getEventHandler, getJAXBContextImpl, getProperty, getTimeFormat, setDatatypeConverter, setDateFormat, setDateTimeFormat, setEventHandler, setJAXBContextImpl, setProperty, setTimeFormat | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.apache.ws.jaxme.JMValidator | 
| getJAXBContextImpl, setJAXBContextImpl | 
| Methods inherited from interface javax.xml.bind.Validator | 
| getEventHandler, getProperty, setEventHandler, setProperty | 
| Constructor Detail | 
public JMValidatorImpl()
| Method Detail | 
public boolean validate(java.lang.Object pObject)
                 throws JAXBException
ValidatorValidates the given JAXB object, invoking its error handler
 for any problems it detects. Detected problems may cause exceptions,
 for example, if the event handlers
 ValidationEventHandler.handleEvent(ValidationEvent)
 method returns false.
validate in interface ValidatorpObject - The JAXB object being validated.
JAXBException - An unexpected problem occurred during
   validationValidator.validateRoot(Object)
public boolean validateRoot(java.lang.Object pObject)
                     throws JAXBException
ValidatorValidates the given JAXB object, but not its child elements.
validateRoot in interface ValidatorpObject - The JAXB object being validated.
JAXBException - An unexpected problem occurred during
   validationValidator.validate(Object)| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||