Interface Schema<S extends Schema<S>>


  • public interface Schema<S extends Schema<S>>
    Defines an XML schema version.
    Author:
    Paul Ferraro
    • Method Detail

      • major

        int major()
      • minor

        int minor()
      • getNamespaceUri

        String getNamespaceUri()
        Get the namespace URI of this schema.
        Returns:
        the namespace URI
      • since

        default boolean since​(S schema)
        Indicates whether this version of the schema is greater than or equal to the version of the specified schema.
        Parameters:
        schema - a schema version with which to compare
        Returns:
        true, if this version of the schema is greater than or equal to the version of the specified schema, false otherwise.