|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jaxfront.core.schema.impl.XMLSchemaBuilderImpl
public class XMLSchemaBuilderImpl
Factory class for creating new XML Schemas based on a URL and a schema root name.
XMLSchema
Field Summary | |
---|---|
static java.lang.String |
version
|
static java.lang.String |
versionNumber
|
Constructor Summary | |
---|---|
XMLSchemaBuilderImpl()
|
Method Summary | |
---|---|
XMLSchema |
build(java.lang.String context,
org.w3c.dom.ls.LSInput input,
org.apache.xerces.xni.parser.XMLEntityResolver entityResolver,
java.lang.String rootName)
|
XMLSchema |
build(java.lang.String xsdString,
java.lang.String rootName)
Factory method for creating new XML Schemas based on a XML Schema Stream and a root name. |
XMLSchema |
build(java.lang.String context,
java.net.URL xsdURL,
java.lang.String rootName)
Factory method for creating new XML Schemas based on a context, URL and a root name.The XML Schema is cached with xsdURL as key. |
XMLSchema |
build(java.lang.String context,
java.net.URL xsdURL,
java.lang.String rootName,
java.util.Hashtable domArgs)
Factory method for creating new XML Schemas based on a context, URL and a root name.The XML Schema is cached with xsdURL as key. |
static XMLSchemaBuilderImpl |
getInstance()
Returns single XMLSchemaBuilder implementation. |
static java.lang.String |
getXercesVersion()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String version
public static java.lang.String versionNumber
Constructor Detail |
---|
public XMLSchemaBuilderImpl()
Method Detail |
---|
public XMLSchema build(java.lang.String context, java.net.URL xsdURL, java.lang.String rootName, java.util.Hashtable domArgs) throws SchemaCreationException
build
in interface XMLSchemaBuilder
context
- needed for client-capable systems for the ability to identify
the right properties (jaxfront.xml )xsdURL
- schema url locationrootName
- name of the root node
SchemaCreationException
- thrown if a Schema Parser exception occuredpublic XMLSchema build(java.lang.String context, org.w3c.dom.ls.LSInput input, org.apache.xerces.xni.parser.XMLEntityResolver entityResolver, java.lang.String rootName) throws SchemaCreationException
build
in interface XMLSchemaBuilder
SchemaCreationException
public XMLSchema build(java.lang.String context, java.net.URL xsdURL, java.lang.String rootName) throws SchemaCreationException
build
in interface XMLSchemaBuilder
context
- needed for client-capable systems for the ability to identify
the right properties (jaxfront.xml )xsdURL
- schema url locationrootName
- name of the root node
SchemaCreationException
- thrown if a Schema Parser exception occuredpublic XMLSchema build(java.lang.String xsdString, java.lang.String rootName) throws SchemaCreationException
build
in interface XMLSchemaBuilder
xsdURL
- schem url locationrootName
- name of the root node
SchemaCreationException
- thrown if a Schema Parser exception occuredpublic static XMLSchemaBuilderImpl getInstance()
public static java.lang.String getXercesVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |