javax.xml.bind
Interface Validator


public interface Validator


Method Summary
 ValidationEventHandler getEventHandler()
           
 Object getProperty(String name)
           
 void setEventHandler(ValidationEventHandler handler)
           
 void setProperty(String name, Object value)
           
 boolean validate(Object subRoot)
           
 boolean validateRoot(Object rootObj)
           
 

Method Detail

getEventHandler

ValidationEventHandler getEventHandler()
                                       throws JAXBException
Throws:
JAXBException

getProperty

Object getProperty(String name)
                   throws PropertyException
Throws:
PropertyException

setEventHandler

void setEventHandler(ValidationEventHandler handler)
                     throws JAXBException
Throws:
JAXBException

setProperty

void setProperty(String name,
                 Object value)
                 throws PropertyException
Throws:
PropertyException

validate

boolean validate(Object subRoot)
                 throws JAXBException
Throws:
JAXBException

validateRoot

boolean validateRoot(Object rootObj)
                     throws JAXBException
Throws:
JAXBException


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.