org.apache.xerces.impl.xs

## Class XMLSchemaValidatorBase.XSIErrorReporter

- java.lang.Object
- - org.apache.xerces.impl.xs.XMLSchemaValidatorBase.XSIErrorReporter

- Enclosing class:
    XMLSchemaValidatorBase

      protected final class XMLSchemaValidatorBase.XSIErrorReporter
      extends java.lang.Object

  A wrapper of the standard error reporter. We'll store all schema errors in this wrapper object, so that we can get all errors (error codes) of a specific element. This is useful for PSVI.

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `XMLSchemaValidatorBase.XSIErrorReporter()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String[]` | `mergeContext()`
    `java.lang.String[]` | `popContext()`
    `void` | `pushContext()`
    `void` | `reportError(java.lang.String domain, java.lang.String key, java.lang.Object[] arguments, short severity)`
    `void` | `reportError(org.apache.xerces.xni.XMLLocator location, java.lang.String domain, java.lang.String key, java.lang.Object[] arguments, short severity)`
    `void` | `reset(XMLErrorReporter errorReporter)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### XMLSchemaValidatorBase.XSIErrorReporter

          protected XMLSchemaValidatorBase.XSIErrorReporter()

  - ### Method Detail

    - #### reset

          public void reset(XMLErrorReporter errorReporter)

    - #### pushContext

          public void pushContext()

    - #### popContext

          public java.lang.String[] popContext()

    - #### mergeContext

          public java.lang.String[] mergeContext()

    - #### reportError

          public void reportError(java.lang.String domain,
                         java.lang.String key,
                         java.lang.Object[] arguments,
                         short severity)
                           throws org.apache.xerces.xni.XNIException

      Throws:
        `org.apache.xerces.xni.XNIException`

    - #### reportError

          public void reportError(org.apache.xerces.xni.XMLLocator location,
                         java.lang.String domain,
                         java.lang.String key,
                         java.lang.Object[] arguments,
                         short severity)
                           throws org.apache.xerces.xni.XNIException

      Throws:
        `org.apache.xerces.xni.XNIException`

Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.