| java.lang.Object org.apache.xerces.impl.dv.DTDDVFactory
All known Subclasses: org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl,
DTDDVFactory | abstract public class DTDDVFactory (Code) | | 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.
author: Sandy Gao, IBM version: $Id: DTDDVFactory.java 558581 2007-07-23 01:38:26Z mrglavas $ |
DTDDVFactory | protected DTDDVFactory()(Code) | | |
getBuiltInDV | abstract public DatatypeValidator getBuiltInDV(String name)(Code) | | return a dtd type of the given name
Parameters: name - the name of the datatype the datatype validator of the given name |
getBuiltInTypes | abstract public Hashtable getBuiltInTypes()(Code) | | get all built-in DVs, which are stored in a hashtable keyed by the name
a hashtable which contains all datatypes |
getInstance | final public static DTDDVFactory getInstance() throws DVFactoryException(Code) | | Get an instance of the default DTDDVFactory implementation.
an instance of DTDDVFactory implementation exception: DVFactoryException - cannot create an instance of the specifiedclass name or the default class name |
getInstance | final public static DTDDVFactory getInstance(String factoryClass) throws DVFactoryException(Code) | | Get an instance of DTDDVFactory implementation.
Parameters: factoryClass - name of the implementation to load. an instance of DTDDVFactory implementation exception: DVFactoryException - cannot create an instance of the specifiedclass name or the default class name |
|
|