com.jaxfront.core.schema.impl
Class XMLSchemaBuilderImpl

java.lang.Object
  extended by 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.

Version:
1.60
See Also:
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

version

public static java.lang.String version

versionNumber

public static java.lang.String versionNumber
Constructor Detail

XMLSchemaBuilderImpl

public XMLSchemaBuilderImpl()
Method Detail

build

public XMLSchema build(java.lang.String context,
                       java.net.URL xsdURL,
                       java.lang.String rootName,
                       java.util.Hashtable domArgs)
                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 location
rootName - name of the root node
Throws:
SchemaCreationException - thrown if a Schema Parser exception occured

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)
                throws SchemaCreationException
Specified by:
build in interface XMLSchemaBuilder
Throws:
SchemaCreationException

build

public XMLSchema build(java.lang.String context,
                       java.net.URL xsdURL,
                       java.lang.String rootName)
                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 location
rootName - name of the root node
Throws:
SchemaCreationException - thrown if a Schema Parser exception occured

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 location
rootName - 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()