javax.xml.bind

Interface ValidationEvent

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int ERROR
      Conditions that correspond to the definition of "error" in section 1.2 of the W3C XML 1.0 Recommendation
      static int FATAL_ERROR
      Conditions that correspond to the definition of "fatal error" in section 1.2 of the W3C XML 1.0 Recommendation
      static int WARNING
      Conditions that are not errors or fatal errors as defined by the XML 1.0 recommendation

        

    • Field Detail

      • WARNING

        static final int WARNING
        Conditions that are not errors or fatal errors as defined by the XML 1.0 recommendation
        See Also:
        Constant Field Values
      • ERROR

        static final int ERROR
        Conditions that correspond to the definition of "error" in section 1.2 of the W3C XML 1.0 Recommendation
        See Also:
        Constant Field Values
      • FATAL_ERROR

        static final int FATAL_ERROR
        Conditions that correspond to the definition of "fatal error" in section 1.2 of the W3C XML 1.0 Recommendation
        See Also:
        Constant Field Values
    • Method Detail

      • getSeverity

        int getSeverity()
        Retrieve the severity code for this warning/error.

        Must be one of ValidationError.WARNING, ValidationError.ERROR, or ValidationError.FATAL_ERROR.

        Returns:
        the severity code for this warning/error
      • getMessage

        String getMessage()
        Retrieve the text message for this warning/error.
        Returns:
        the text message for this warning/error or null if one wasn't set
      • getLinkedException

        Throwable getLinkedException()
        Retrieve the linked exception for this warning/error.
        Returns:
        the linked exception for this warning/error or null if one wasn't set
      • getLocator

        ValidationEventLocator getLocator()
        Retrieve the locator for this warning/error.
        Returns:
        the locator that indicates where the warning/error occurred

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Document créé le 11/06/2005, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-javax/xml/bind/ValidationEvent.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut