org.apache.ws.jaxme.impl

Class JMValidatorImpl

Implemented Interfaces:
JMValidator, Validator

public class JMValidatorImpl
extends JMControllerImpl
implements JMValidator

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

JAXME_DATATYPE_CONVERTER, JAXME_FORMAT_DATE, JAXME_FORMAT_DATETIME, JAXME_FORMAT_TIME, JAXME_PRIVATE, eventHandler

Method Summary

boolean
validate(Object pObject)
boolean
validateRoot(Object pObject)

Methods inherited from class org.apache.ws.jaxme.impl.JMControllerImpl

getDatatypeConverter, getDateFormat, getDateTimeFormat, getEventHandler, getJAXBContextImpl, getProperty, getTimeFormat, setDatatypeConverter, setDateFormat, setDateTimeFormat, setEventHandler, setJAXBContextImpl, setProperty, setTimeFormat

Method Details

validate

public boolean validate(Object pObject)
            throws JAXBException
Specified by:
validate in interface Validator

validateRoot

public boolean validateRoot(Object pObject)
            throws JAXBException
Specified by:
validateRoot in interface Validator