public class MemoryResolver extends Object implements ISchemaResolver
| Constructor and Description |
|---|
MemoryResolver(String id)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getContent()
Get the content associated with this schema document.
|
String |
getId()
Get unique identifier for this schema.
|
String |
getName()
Get the schema name.
|
ISchemaResolver |
resolve(String loc,
String tns)
Resolve a schema reference, which may be relative to this schema location.
|
public MemoryResolver(String id)
id - 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 errorCopyright © 2005-2013 jibx.org. All Rights Reserved.