com.jaxfront.core.schema.impl
Class XMLSchemaBuilderImpl
java.lang.Object
com.jaxfront.core.schema.impl.XMLSchemaBuilderImpl
- All Implemented Interfaces:
- XMLSchemaBuilder
public class XMLSchemaBuilderImpl
- extends java.lang.Object
- implements XMLSchemaBuilder
Factory class for creating new XML Schemas based on a URL and a schema root name.
- See Also:
XMLSchema
|
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,
boolean keepInMemory)
|
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,
java.util.Hashtable args)
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 |
version
public static java.lang.String version
versionNumber
public static java.lang.String versionNumber
XMLSchemaBuilderImpl
public XMLSchemaBuilderImpl()
build
public XMLSchema build(java.lang.String context,
org.w3c.dom.ls.LSInput input,
org.apache.xerces.xni.parser.XMLEntityResolver entityResolver,
java.lang.String rootName,
boolean keepInMemory)
throws SchemaCreationException
- Specified by:
build in interface XMLSchemaBuilder
- Throws:
SchemaCreationException
build
public XMLSchema build(java.lang.String xsdString,
java.lang.String rootName)
throws SchemaCreationException
- Factory method for creating new XML Schemas based on a XML Schema Stream and a root name.
- Specified by:
build in interface XMLSchemaBuilder
- Parameters:
xsdURL - schem url locationrootName - name of the root node
- Throws:
SchemaCreationException - thrown if a Schema Parser exception occured
build
public XMLSchema build(java.lang.String context,
java.net.URL xsdURL,
java.lang.String rootName,
java.util.Hashtable args)
throws SchemaCreationException
- 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.
- Specified by:
build in interface XMLSchemaBuilder
- Parameters:
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
- Throws:
SchemaCreationException - thrown if a Schema Parser exception occured
getInstance
public static XMLSchemaBuilderImpl getInstance()
- Returns single XMLSchemaBuilder implementation.
getXercesVersion
public static java.lang.String getXercesVersion()