API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.bind. ValidationEvent View Source
Author(s)

Since
JAXB1.0
Version
$Revision: 1.2 $
Serial
Hierarchy
 ValidationEvent
Subinterfaces
Description
public interface ValidationEvent
  This event indicates that a problem was encountered while validating the incoming XML data during an unmarshal operation, while performing on-demand validation of the Java content tree, or while marshalling the Java content tree back to XML data.
Methods
Hide/Show inherited methods
public Throwable getLinkedException ()
  Retrieve the linked exception for this warning/error.
public ValidationEventLocator getLocator ()
  Retrieve the locator for this warning/error.
public String getMessage ()
  Retrieve the text message for this warning/error.
public int getSeverity ()
  Retrieve the severity code for this warning/error.
Fields
Hide/Show inherited fields
publicfinalstatic int ERROR = "1"
Conditions that correspond to the definition of "error" in section 1.2 of the W3C XML 1.0 Recommendation
publicfinalstatic int FATAL_ERROR = "2"
Conditions that correspond to the definition of "fatal error" in section 1.2 of the W3C XML 1.0 Recommendation
publicfinalstatic int WARNING = "0"
Conditions that are not errors or fatal errors as defined by the XML 1.0 recommendation
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar