|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.net.URILocation
org.exolab.castor.xml.schema.reader.SchemaLocation
public final class SchemaLocation
An implementation of URILocation for applications that need to resolve an XML Schema in a non-standard way, such as a Schema embedded in another XML document, or a Schema created in-memory, etc.
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaLocation(Schema schema,
String href)
schema - the Schema that represents the resource at
identified by this URILocationhref - the absolute URL for the resource identified by
this URILocation.| Method Detail |
|---|
public String getAbsoluteURI()
getAbsoluteURI in class URILocationgetRelativeURI(),
getBaseURI()public String getBaseURI()
getBaseURI in class URILocationgetAbsoluteURI(),
getRelativeURI()
public Reader getReader()
throws IOException
getReader in class URILocationFileNotFoundException
IOExceptionpublic String getRelativeURI()
getRelativeURI in class URILocationgetAbsoluteURI(),
getBaseURI()public Schema getSchema()
public String toString()
toString in class URILocation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||