Interface Schema<S extends Schema<S>>
-
public interface Schema<S extends Schema<S>>Defines an XML schema version.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetNamespaceUri()Get the namespace URI of this schema.intmajor()intminor()default booleansince(S schema)Indicates whether this version of the schema is greater than or equal to the version of the specified schema.
-
-
-
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.
-
-