|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jibx.schema.UrlResolver
public class UrlResolver
Basic resolver supporting relative URL paths.
| Constructor Summary | |
|---|---|
UrlResolver(String path,
URL url)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
InputStream |
getContent()
Get the content associated with this schema document. |
String |
getId()
Get unique identifier for this schema. |
String |
getName()
Get the schema name. |
URL |
getUrl()
Get the document URL. |
int |
hashCode()
|
ISchemaResolver |
resolve(String loc,
String tns)
Resolve a schema reference, which may be relative to this schema location. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UrlResolver(String path,
URL url)
path - url - | Method Detail |
|---|
public InputStream getContent()
throws IOException
ISchemaResolver
getContent in interface ISchemaResolverIOException - on access errorpublic String getName()
ISchemaResolver
getName in interface ISchemaResolverpublic String getId()
ISchemaResolver
getId in interface ISchemaResolver
public ISchemaResolver resolve(String loc,
String tns)
throws IOException
ISchemaResolver
resolve in interface ISchemaResolverloc - target URL (null if none supplied)tns - target namespace URI (null if none supplied)
IOException - on resolve errorpublic URL getUrl()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||