|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.clazzes.jdbc2xml.sax.JDBC2XMLSchemaHelper
public abstract class JDBC2XMLSchemaHelper
This class helps in contructing a Schema instance, which is suitable for parsing jdbc2xml XML documents.
Field Summary | |
---|---|
static String |
XML2JDBC_RESOURCE_PATH
The resource path, where the jdbc2xml schema description is stored. |
Constructor Summary | |
---|---|
JDBC2XMLSchemaHelper()
|
Method Summary | |
---|---|
static Schema |
createSchema()
Construct a schema for the jdbc2xml namespace using the SchemaFactory returned by SchemaFactory.newInstance(String) for the XML w3C
schema URI XMLConstants.W3C_XML_SCHEMA_NS_URI . |
static Schema |
createSchema(SchemaFactory schemaFactory)
Construct a schema for the jdbc2xml namespace using the given SchemaFactory and the default classloader. |
static Schema |
createSchema(SchemaFactory schemaFactory,
ClassLoader loader)
Construct a schema for the jdbc2xml namespace using the given SchemaFactory and classloader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String XML2JDBC_RESOURCE_PATH
Constructor Detail |
---|
public JDBC2XMLSchemaHelper()
Method Detail |
---|
public static Schema createSchema(SchemaFactory schemaFactory, ClassLoader loader) throws SAXException
schemaFactory
- The schema factory to be used, which must be configured to
parse W3C XML schema descriptions.loader
- The classloader to be used.
SAXException
public static Schema createSchema(SchemaFactory schemaFactory) throws SAXException
schemaFactory
- The schema factory to be used, which must be configured to
parse W3C XML schema descriptions.
SAXException
public static Schema createSchema() throws SAXException
SchemaFactory.newInstance(String)
for the XML w3C
schema URI XMLConstants.W3C_XML_SCHEMA_NS_URI
.
b
SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |