|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectSchemaFactory
public class SchemaFactory
This is the main entry point into the XSI parsing routines.
Example Use:
Schema x = SchemaFactory.getInstance("MyTargetNameSpace",new URI("MyNameSpaceURI");
| Field Summary | |
|---|---|
protected static SchemaFactory |
is
|
| Constructor Summary | |
|---|---|
protected |
SchemaFactory()
Default constructor. |
| Method Summary | |
|---|---|
protected static SchemaFactory |
getInstance()
|
static Schema |
getInstance(String targetNamespace)
|
static Schema |
getInstance(URI targetNamespace)
Returns an instance of the targetNamespace if it can be found ... null otherwise. targetNamespaces which can be found are either hard-coded namespaces (SchemaFactory.properties), have already been parsed or were registered. |
static Schema |
getInstance(URI targetNamespace,
InputStream is1)
|
static Schema |
getInstance(URI targetNamespace,
InputStream is1,
Level level)
|
static Schema |
getInstance(URI targetNamespace,
URI desiredSchema)
Returns an instance of the desired class. |
static Schema |
getInstance(URI targetNamespace,
URI desiredSchema,
Level level)
Returns an instance of the desired class. |
protected XSISAXHandler |
getSAXHandler(URI uri)
|
static Schema[] |
getSchemas(String prefix)
|
static void |
registerSchema(URI targetNamespace,
Schema schema)
Registers a Schema instance with the factory. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static SchemaFactory is
| Constructor Detail |
|---|
protected SchemaFactory()
| Method Detail |
|---|
protected static SchemaFactory getInstance()
public static Schema getInstance(URI targetNamespace,
URI desiredSchema)
throws SAXException
targetNamespace - desiredSchema - URI the uri of which you want a schema instance.
SAXException
public static Schema getInstance(URI targetNamespace,
InputStream is1)
throws SAXException
SAXExceptionpublic static Schema getInstance(String targetNamespace)
public static Schema getInstance(URI targetNamespace)
targetNamespace - #registerSchema(Strin,Schema)public static Schema[] getSchemas(String prefix)
public static Schema getInstance(URI targetNamespace,
URI desiredSchema,
Level level)
throws SAXException
targetNamespace - The targetNamespace to search for.desiredSchema - URI the uri of which you want a schema instance.level - Level
SAXException - When something goes wrongprotected XSISAXHandler getSAXHandler(URI uri)
public static Schema getInstance(URI targetNamespace,
InputStream is1,
Level level)
throws SAXException
SAXException
public static void registerSchema(URI targetNamespace,
Schema schema)
targetNamespace - schema -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||