|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.schema.validation.ValidationUtils.SyntheticSchemaResolver
private static class ValidationUtils.SyntheticSchemaResolver
Resolver for synthesized schema, used when no-namespace schemas are being generated within a namespace.
Field Summary | |
---|---|
private java.util.Map |
m_locResolver
|
Constructor Summary | |
---|---|
private |
ValidationUtils.SyntheticSchemaResolver()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final java.util.Map m_locResolver
Constructor Detail |
---|
private ValidationUtils.SyntheticSchemaResolver()
Method Detail |
---|
public void addResolver(ISchemaResolver resolver)
public java.io.InputStream getContent() throws java.io.IOException
ISchemaResolver
getContent
in interface ISchemaResolver
java.io.IOException
- on access errorpublic java.lang.String getName()
ISchemaResolver
getName
in interface ISchemaResolver
public java.lang.String getId()
ISchemaResolver
getId
in interface ISchemaResolver
public ISchemaResolver resolve(java.lang.String loc, java.lang.String tns) throws java.io.IOException
ISchemaResolver
resolve
in interface ISchemaResolver
loc
- target URL (null
if none supplied)tns
- target namespace URI (null
if none supplied)
java.io.IOException
- on resolve error
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |