|
||||||||||
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 java.lang.String |
XML2JDBC_RESOURCE_PATH
The resource path, where the jdbc2xml schema description is stored. |
Constructor Summary | |
---|---|
JDBC2XMLSchemaHelper()
|
Method Summary | |
---|---|
static javax.xml.validation.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 javax.xml.validation.Schema |
createSchema(javax.xml.validation.SchemaFactory schemaFactory)
Construct a schema for the jdbc2xml namespace using the given SchemaFactory and the default classloader. |
static javax.xml.validation.Schema |
createSchema(javax.xml.validation.SchemaFactory schemaFactory,
java.lang.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 java.lang.String XML2JDBC_RESOURCE_PATH
Constructor Detail |
---|
public JDBC2XMLSchemaHelper()
Method Detail |
---|
public static javax.xml.validation.Schema createSchema(javax.xml.validation.SchemaFactory schemaFactory, java.lang.ClassLoader loader) throws org.xml.sax.SAXException
schemaFactory
- The schema factory to be used, which must be configured to
parse W3C XML schema descriptions.loader
- The classloader to be used.
org.xml.sax.SAXException
public static javax.xml.validation.Schema createSchema(javax.xml.validation.SchemaFactory schemaFactory) throws org.xml.sax.SAXException
schemaFactory
- The schema factory to be used, which must be configured to
parse W3C XML schema descriptions.
org.xml.sax.SAXException
public static javax.xml.validation.Schema createSchema() throws org.xml.sax.SAXException
SchemaFactory.newInstance(String)
for the XML w3C
schema URI XMLConstants.W3C_XML_SCHEMA_NS_URI
.
b
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |