public class UrlResolver extends Object implements ISchemaResolver
| Constructor and Description |
|---|
UrlResolver(String path,
URL url)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public InputStream getContent() throws IOException
ISchemaResolvergetContent in interface ISchemaResolverIOException - on access errorpublic String getName()
ISchemaResolvergetName in interface ISchemaResolverpublic String getId()
ISchemaResolvergetId in interface ISchemaResolverpublic ISchemaResolver resolve(String loc, String tns) throws IOException
ISchemaResolverresolve in interface ISchemaResolverloc - target URL (null if none supplied)tns - target namespace URI (null if none supplied)IOException - on resolve errorpublic URL getUrl()
Copyright © 2005-2013 jibx.org. All Rights Reserved.