org.apache.ode.utils.xsd

## Class XSUtils

- java.lang.Object
- - org.apache.ode.utils.xsd.XSUtils

-     public class XSUtils
      extends java.lang.Object

  Various utility methods related to XML Schema processing.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `XSUtils()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.util.Map<java.net.URI,byte[]>` | `captureSchema(java.net.URI systemURI, byte[] schemaData, org.apache.xerces.xni.parser.XMLEntityResolver resolver)` Capture the schemas supplied by the reader.

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

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

- - ### Constructor Detail

    - #### XSUtils

          public XSUtils()

  - ### Method Detail

    - #### captureSchema

          public static java.util.Map<java.net.URI,byte[]> captureSchema(java.net.URI systemURI,
                                                         byte[] schemaData,
                                                         org.apache.xerces.xni.parser.XMLEntityResolver resolver)
                                                                  throws XsdException

      Capture the schemas supplied by the reader. `systemURI` is required to resolve any relative uris encountered during the parse.
      Parameters:
        `systemURI` - Used to resolve relative uris.
        `schemaData` - the top level schema.
        `resolver` - entity resolver
      Returns:
      Throws:
        `XsdException`