public interface ISchemaResolver
Modifier and Type | Method and Description |
---|---|
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.
|
ISchemaResolver resolve(java.lang.String loc, java.lang.String tns) throws java.io.IOException
loc
- target URL (null
if none supplied)tns
- target namespace URI (null
if none supplied)java.io.IOException
- on resolve errorjava.lang.String getName()
java.lang.String getId()
java.io.InputStream getContent() throws java.io.IOException
java.io.IOException
- on access error