< prev index next >

src/com/sun/org/apache/xerces/internal/impl/dv/SchemaDVFactory.java

Print this page
rev 2127 : 8048021: Remove @version tag in jaxp repo
Reviewed-by: joehw


  23 import com.sun.org.apache.xerces.internal.util.SymbolHash;
  24 import com.sun.org.apache.xerces.internal.xs.XSObjectList;
  25 import com.sun.org.apache.xerces.internal.utils.ObjectFactory;
  26 
  27 /**
  28  * Defines a factory API that enables applications to <p>
  29  * 1. to get the instance of specified SchemaDVFactory implementation <p>
  30  * 2. to create/return built-in schema simple types <p>
  31  * 3. to create user defined simple types. <p>
  32  *
  33  * Implementations of this abstract class can be used to get built-in simple
  34  * types and create user-defined simle types. <p>
  35  *
  36  * The implementation should store the built-in datatypes in static data, so
  37  * that they can be shared by multiple parser instance, and multiple threads.
  38  *
  39  * @xerces.internal
  40  *
  41  * @author Sandy Gao, IBM
  42  *
  43  * @version $Id: SchemaDVFactory.java,v 1.6 2010-11-01 04:39:43 joehw Exp $
  44  */
  45 public abstract class SchemaDVFactory {
  46 
  47     private static final String DEFAULT_FACTORY_CLASS = "com.sun.org.apache.xerces.internal.impl.dv.xs.SchemaDVFactoryImpl";
  48 
  49     /**
  50      * Get a default instance of SchemaDVFactory implementation.
  51      *
  52      * @return  an instance of SchemaDVFactory implementation
  53      * @exception DVFactoryException  cannot create an instance of the specified
  54      *                                class name or the default class name
  55      */
  56     public static synchronized final SchemaDVFactory getInstance() throws DVFactoryException {
  57         return getInstance(DEFAULT_FACTORY_CLASS);
  58     } //getInstance():  SchemaDVFactory
  59 
  60 
  61     /**
  62      * Get an instance of SchemaDVFactory implementation.
  63      *




  23 import com.sun.org.apache.xerces.internal.util.SymbolHash;
  24 import com.sun.org.apache.xerces.internal.xs.XSObjectList;
  25 import com.sun.org.apache.xerces.internal.utils.ObjectFactory;
  26 
  27 /**
  28  * Defines a factory API that enables applications to <p>
  29  * 1. to get the instance of specified SchemaDVFactory implementation <p>
  30  * 2. to create/return built-in schema simple types <p>
  31  * 3. to create user defined simple types. <p>
  32  *
  33  * Implementations of this abstract class can be used to get built-in simple
  34  * types and create user-defined simle types. <p>
  35  *
  36  * The implementation should store the built-in datatypes in static data, so
  37  * that they can be shared by multiple parser instance, and multiple threads.
  38  *
  39  * @xerces.internal
  40  *
  41  * @author Sandy Gao, IBM
  42  *

  43  */
  44 public abstract class SchemaDVFactory {
  45 
  46     private static final String DEFAULT_FACTORY_CLASS = "com.sun.org.apache.xerces.internal.impl.dv.xs.SchemaDVFactoryImpl";
  47 
  48     /**
  49      * Get a default instance of SchemaDVFactory implementation.
  50      *
  51      * @return  an instance of SchemaDVFactory implementation
  52      * @exception DVFactoryException  cannot create an instance of the specified
  53      *                                class name or the default class name
  54      */
  55     public static synchronized final SchemaDVFactory getInstance() throws DVFactoryException {
  56         return getInstance(DEFAULT_FACTORY_CLASS);
  57     } //getInstance():  SchemaDVFactory
  58 
  59 
  60     /**
  61      * Get an instance of SchemaDVFactory implementation.
  62      *


< prev index next >