Class FileSchemaSource

  • All Implemented Interfaces:
    ISchemaSource

    public class FileSchemaSource
    extends Object
    implements ISchemaSource
    Represents a schema location pointing to a local file.
    • Constructor Detail

      • FileSchemaSource

        public FileSchemaSource​(File file)
      • FileSchemaSource

        public FileSchemaSource​(String filename)
    • Method Detail

      • getBase

        public String getBase()
        Description copied from interface: ISchemaSource
        Gets the base location of this source.

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

        Specified by:
        getBase in interface ISchemaSource
        Returns:
        The base location. May be null.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object