ISchemaResolverprivate static class ValidationUtils.SyntheticSchemaResolver extends java.lang.Object implements ISchemaResolver
| Modifier and Type | Field | Description |
|---|---|---|
private java.util.Map |
m_locResolver |
| Modifier | Constructor | Description |
|---|---|---|
private |
SyntheticSchemaResolver() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addResolver(ISchemaResolver resolver) |
|
java.io.InputStream |
getContent() |
Get the content associated with this schema document.
|
java.lang.String |
getId() |
Get unique identifier for this schema.
|
java.lang.String |
getName() |
Get the schema name.
|
ISchemaResolver |
resolve(java.lang.String loc,
java.lang.String tns) |
Resolve a schema reference, which may be relative to this schema location.
|
public void addResolver(ISchemaResolver resolver)
public java.io.InputStream getContent()
throws java.io.IOException
ISchemaResolvergetContent in interface ISchemaResolverjava.io.IOException - on access errorpublic java.lang.String getName()
ISchemaResolvergetName in interface ISchemaResolverpublic java.lang.String getId()
ISchemaResolvergetId in interface ISchemaResolverpublic ISchemaResolver resolve(java.lang.String loc, java.lang.String tns) throws java.io.IOException
ISchemaResolverresolve in interface ISchemaResolverloc - target URL (null if none supplied)tns - target namespace URI (null if none supplied)java.io.IOException - on resolve error