|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.xml.SchemaFactory
SchemaFactory purpose.
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 | |
SchemaFactory()
|
Method Summary | |
protected static SchemaFactory |
getInstance()
|
static Schema |
getInstance(java.net.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(java.net.URI targetNamespace,
java.io.InputStream is1)
|
static Schema |
getInstance(java.net.URI targetNamespace,
java.io.InputStream is1,
java.util.logging.Level level)
|
static Schema |
getInstance(java.net.URI targetNamespace,
java.net.URI desiredSchema)
Returns an instance of the desired class. |
static Schema |
getInstance(java.net.URI targetNamespace,
java.net.URI desiredSchema,
java.util.logging.Level level)
Returns an instance of the desired class. |
protected XSISAXHandler |
getSAXHandler(java.net.URI uri)
|
static Schema[] |
getSchemas(java.lang.String prefix)
|
static void |
registerSchema(java.net.URI targetNamespace,
Schema schema)
Registers a Schema instance with the factory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static SchemaFactory is
Constructor Detail |
public SchemaFactory()
Method Detail |
protected static SchemaFactory getInstance()
public static Schema getInstance(java.net.URI targetNamespace, java.net.URI desiredSchema) throws org.xml.sax.SAXException
targetNamespace
- desiredSchema
- URI the uri of which you want a schema instance.
org.xml.sax.SAXException
public static Schema getInstance(java.net.URI targetNamespace, java.io.InputStream is1) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public static Schema getInstance(java.net.URI targetNamespace)
targetNamespace
-
registerSchema(Strin,Schema)
public static Schema[] getSchemas(java.lang.String prefix)
public static Schema getInstance(java.net.URI targetNamespace, java.net.URI desiredSchema, java.util.logging.Level level) throws org.xml.sax.SAXException
targetNamespace
- The targetNamespace to search for.desiredSchema
- URI the uri of which you want a schema instance.level
- Level
org.xml.sax.SAXException
- When something goes wrongprotected XSISAXHandler getSAXHandler(java.net.URI uri)
public static Schema getInstance(java.net.URI targetNamespace, java.io.InputStream is1, java.util.logging.Level level) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public static void registerSchema(java.net.URI targetNamespace, Schema schema)
targetNamespace
- schema
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |