public final class SchemaLocation extends URILocation
| Constructor and Description |
|---|
SchemaLocation(Schema schema,
String href)
Creates a new SchemaLocation
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAbsoluteURI()
Returns the absolute URI for this URILocation
|
String |
getBaseURI()
Returns the base location of this URILocation.
|
Reader |
getReader()
Returns a Reader for the resource represented
by this URILocation.
|
String |
getRelativeURI()
Returns the relative URI for this URILocation
|
Schema |
getSchema()
Returns the Schema for this SchemaLocation, or null if
this SchemaLocation was not constructed with a Schema object.
|
String |
toString()
Returns the String representation of
this URILocation.
|
public String getAbsoluteURI()
getAbsoluteURI in class URILocationgetRelativeURI(),
getBaseURI()public String getBaseURI()
getBaseURI in class URILocationgetAbsoluteURI(),
getRelativeURI()public Reader getReader() throws IOException
getReader in class URILocationFileNotFoundExceptionIOExceptionpublic String getRelativeURI()
getRelativeURI in class URILocationgetAbsoluteURI(),
getBaseURI()public Schema getSchema()
public String toString()
toString in class URILocationCopyright © 2021. All rights reserved.