|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAppSchemaXSDRegistry
public final class AppSchemaXSDRegistry
A singleton registry to store all XSD schema's that are created by app-schema. This registry has two purposes: (1) Reusing schema's that have already been built previously, so that schema content in memory isn't cluttered with multiple versions of the same schema (with respect to .
Method Summary | |
---|---|
void |
dispose()
Flush all schema's (remove all references to them from other schema's) and clear register |
static AppSchemaXSDRegistry |
getInstance()
Get lazy loaded singleton instance |
XSDSchema |
locateSchema(XSDSchema xsdSchema,
String namespaceURI,
String rawSchemaLocationURI,
String resolvedSchemaLocationURI)
Implements schema locator... creates and registers new schema if necessary |
XSDSchema |
lookUp(String schemaLocation)
Look up schema in register |
void |
register(XSDSchema schema)
Register schema |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static AppSchemaXSDRegistry getInstance()
public void register(XSDSchema schema)
schema
- schema to be registeredpublic XSDSchema lookUp(String schemaLocation)
schemaLocation
- (resolved) schema location
public void dispose()
public XSDSchema locateSchema(XSDSchema xsdSchema, String namespaceURI, String rawSchemaLocationURI, String resolvedSchemaLocationURI)
locateSchema
in interface XSDSchemaLocator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |