Interface ISchemaSource

All Known Implementing Classes:
EmbeddedSchemaSource, FileSchemaSource, URLSchemaSource

public interface ISchemaSource
Represents the source location of a schema.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the base location of this source.
    Opens the location into a readable stream.
  • Method Details

    • getBase

      String getBase()
      Gets the base location of this source.

      The base location is the location from which relative import references are resolved.

      Returns:
      The base location. May be null.
    • getStream

      InputStream getStream() throws IOException
      Opens the location into a readable stream.
      Throws:
      IOException - If the location cannot be opened for any reason.