Java™ Platform
Standard Ed. 6

Uses of Interface
javax.xml.bind.ValidationEventHandler

Packages that use ValidationEventHandler
javax.xml.bind Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities. 
javax.xml.bind.annotation Defines annotations for customizing Java program elements to XML Schema mapping. 
javax.xml.bind.helpers JAXB Provider Use Only: Provides partial default implementations for some of the javax.xml.bind interfaces. 
javax.xml.bind.util Useful client utility classes. 
 

Uses of ValidationEventHandler in javax.xml.bind
 

Methods in javax.xml.bind that return ValidationEventHandler
 ValidationEventHandler Validator.getEventHandler()
          Deprecated. since JAXB2.0
 ValidationEventHandler Unmarshaller.getEventHandler()
          Return the current event handler or the default event handler if one hasn't been set.
 ValidationEventHandler Marshaller.getEventHandler()
          Return the current event handler or the default event handler if one hasn't been set.
abstract  ValidationEventHandler Binder.getEventHandler()
          Return the current event handler or the default event handler if one hasn't been set.
 

Methods in javax.xml.bind with parameters of type ValidationEventHandler
 void Validator.setEventHandler(ValidationEventHandler handler)
          Deprecated. since JAXB2.0
 void Unmarshaller.setEventHandler(ValidationEventHandler handler)
          Allow an application to register a ValidationEventHandler.
 void Marshaller.setEventHandler(ValidationEventHandler handler)
          Allow an application to register a validation event handler.
abstract  void Binder.setEventHandler(ValidationEventHandler handler)
          Allow an application to register a ValidationEventHandler.
 

Uses of ValidationEventHandler in javax.xml.bind.annotation
 

Methods in javax.xml.bind.annotation with parameters of type ValidationEventHandler
 DOMResult W3CDomHandler.createUnmarshaller(ValidationEventHandler errorHandler)
           
 ResultT DomHandler.createUnmarshaller(ValidationEventHandler errorHandler)
          When a JAXB provider needs to unmarshal a part of a document into an infoset representation, it first calls this method to create a Result object.
 Source DomHandler.marshal(ElementT n, ValidationEventHandler errorHandler)
          This method is called when a JAXB provider needs to marshal an element to XML.
 Source W3CDomHandler.marshal(Element element, ValidationEventHandler errorHandler)
           
 

Uses of ValidationEventHandler in javax.xml.bind.helpers
 

Classes in javax.xml.bind.helpers that implement ValidationEventHandler
 class DefaultValidationEventHandler
           JAXB 1.0 only default validation event handler.
 

Methods in javax.xml.bind.helpers that return ValidationEventHandler
 ValidationEventHandler AbstractUnmarshallerImpl.getEventHandler()
          Return the current event handler or the default event handler if one hasn't been set.
 ValidationEventHandler AbstractMarshallerImpl.getEventHandler()
           
 

Methods in javax.xml.bind.helpers with parameters of type ValidationEventHandler
 void AbstractUnmarshallerImpl.setEventHandler(ValidationEventHandler handler)
          Allow an application to register a validation event handler.
 void AbstractMarshallerImpl.setEventHandler(ValidationEventHandler handler)
           
 

Uses of ValidationEventHandler in javax.xml.bind.util
 

Classes in javax.xml.bind.util that implement ValidationEventHandler
 class ValidationEventCollector
          ValidationEventHandler implementation that collects all events.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.