Package org.n52.shetland.w3c
Class SchemaLocation
java.lang.Object
org.n52.shetland.w3c.SchemaLocation
- All Implemented Interfaces:
Comparable<SchemaLocation>
Class represents a XML schema location with namespace and schema file URL.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(SchemaLocation other) booleanGet namespace of schema locationGet schema file URLinthashCode()
-
Constructor Details
-
SchemaLocation
Constructor- Parameters:
namespace- NamespaceschemaFileUrl- Schema file URL
-
-
Method Details
-
getNamespace
Get namespace of schema location- Returns:
- namespace
-
getSchemaFileUrl
Get schema file URL- Returns:
- schema file URL
-
getSchemaLocationString
- Returns:
- Schema location string
-
compareTo
- Specified by:
compareToin interfaceComparable<SchemaLocation>
-
hashCode
public int hashCode() -
equals
-