1 5 6 package javax.xml.bind; 7 8 141 public interface Validator { 142 143 162 public void setEventHandler( ValidationEventHandler handler ) 163 throws JAXBException; 164 165 175 public ValidationEventHandler getEventHandler() 176 throws JAXBException; 177 178 199 public boolean validate( Object subrootObj ) throws JAXBException; 200 201 222 public boolean validateRoot( Object rootObj ) throws JAXBException; 223 224 243 public void setProperty( String name, Object value ) 244 throws PropertyException; 245 246 264 public Object getProperty( String name ) throws PropertyException; 265 266 } 267 | Popular Tags |