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 URILocation
getRelativeURI()
,
getBaseURI()
public String getBaseURI()
getBaseURI
in class URILocation
getAbsoluteURI()
,
getRelativeURI()
public Reader getReader() throws IOException
getReader
in class URILocation
FileNotFoundException
IOException
public String getRelativeURI()
getRelativeURI
in class URILocation
getAbsoluteURI()
,
getBaseURI()
public Schema getSchema()
public String toString()
toString
in class URILocation
Copyright © 2024. All rights reserved.