public final class SchemaLocation extends URILocation
| Constructor | Description |
|---|---|
SchemaLocation(Schema schema,
java.lang.String href) |
Creates a new SchemaLocation
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getAbsoluteURI() |
Returns the absolute URI for this URILocation
|
java.lang.String |
getBaseURI() |
Returns the base location of this URILocation.
|
java.io.Reader |
getReader() |
Returns a Reader for the resource represented
by this URILocation.
|
java.lang.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.
|
java.lang.String |
toString() |
Returns the String representation of
this URILocation.
|
public SchemaLocation(Schema schema, java.lang.String href)
schema - the Schema that represents the resource at
identified by this URILocationhref - the absolute URL for the resource identified by
this URILocation.public java.lang.String getAbsoluteURI()
getAbsoluteURI in class URILocationgetRelativeURI(),
getBaseURI()public java.lang.String getBaseURI()
getBaseURI in class URILocationgetAbsoluteURI(),
getRelativeURI()public java.io.Reader getReader()
throws java.io.IOException
getReader in class URILocationjava.io.FileNotFoundExceptionjava.io.IOExceptionpublic java.lang.String getRelativeURI()
getRelativeURI in class URILocationgetAbsoluteURI(),
getBaseURI()public Schema getSchema()
public java.lang.String toString()
toString in class URILocationIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com