org.exolab.castor.xml.schema.reader
public final class SchemaLocation extends URILocation
Version: $Revision: 6230 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
Constructor Summary | |
---|---|
SchemaLocation(Schema schema, String href)
Creates a new SchemaLocation
|
Method Summary | |
---|---|
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.
|
Parameters: schema the Schema that represents the resource at identified by this URILocation href the absolute URL for the resource identified by this URILocation.
Returns: the absolute URI for this URILocation
See Also: SchemaLocation SchemaLocation
Returns: the base location of this URILocation
See Also: SchemaLocation SchemaLocation
Returns: a Reader for the resource represented by this URILocation
Throws: java.io.FileNotFoundException java.io.IOException
Returns: the relative URI for this URILocation
See Also: SchemaLocation SchemaLocation
Returns: the Schema for this SchemaLocation, or null if no Schema object was set.
Returns: the String representation of this URILocation