Package org.n52.shetland.w3c
Class SchemaLocation
- java.lang.Object
-
- org.n52.shetland.w3c.SchemaLocation
-
- All Implemented Interfaces:
Comparable<SchemaLocation>
public class SchemaLocation extends Object implements Comparable<SchemaLocation>
Class represents a XML schema location with namespace and schema file URL.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description SchemaLocation(String namespace, String schemaFileUrl)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(SchemaLocation other)booleanequals(Object obj)StringgetNamespace()Get namespace of schema locationStringgetSchemaFileUrl()Get schema file URLStringgetSchemaLocationString()inthashCode()
-
-
-
Method Detail
-
getNamespace
public String getNamespace()
Get namespace of schema location- Returns:
- namespace
-
getSchemaFileUrl
public String getSchemaFileUrl()
Get schema file URL- Returns:
- schema file URL
-
getSchemaLocationString
public String getSchemaLocationString()
- Returns:
- Schema location string
-
compareTo
public int compareTo(SchemaLocation other)
- Specified by:
compareToin interfaceComparable<SchemaLocation>
-
-