Home » Xerces-J-src.2.9.1 » org.apache.xerces » impl » dv » [javadoc | source]
org.apache.xerces.impl.dv
abstract public class: DTDDVFactory [javadoc | source]
java.lang.Object
   org.apache.xerces.impl.dv.DTDDVFactory

Direct Known Subclasses:
    DTDDVFactoryImpl, XML11DTDDVFactoryImpl

The factory to create and return DTD types. The implementation should store the created datatypes in static data, so that they can be shared by multiple parser instance, and multiple threads.
Constructor:
 protected DTDDVFactory() 
Method from org.apache.xerces.impl.dv.DTDDVFactory Summary:
getBuiltInDV,   getBuiltInTypes,   getInstance,   getInstance
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.xerces.impl.dv.DTDDVFactory Detail:
 abstract public DatatypeValidator getBuiltInDV(String name)
    return a dtd type of the given name
 abstract public Hashtable getBuiltInTypes()
    get all built-in DVs, which are stored in a hashtable keyed by the name
 public static final DTDDVFactory getInstance() throws DVFactoryException 
    Get an instance of the default DTDDVFactory implementation.
 public static final DTDDVFactory getInstance(String factoryClass) throws DVFactoryException 
    Get an instance of DTDDVFactory implementation.