|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.impl.dv.DTDDVFactory
public abstract class DTDDVFactory
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.
Method Summary | |
---|---|
abstract DatatypeValidator |
getBuiltInDV(java.lang.String name)
return a dtd type of the given name |
abstract java.util.Hashtable |
getBuiltInTypes()
get all built-in DVs, which are stored in a hashtable keyed by the name |
static DTDDVFactory |
getInstance()
Get an instance of the default DTDDVFactory implementation. |
static DTDDVFactory |
getInstance(java.lang.String factoryClass)
Get an instance of DTDDVFactory implementation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final DTDDVFactory getInstance() throws DVFactoryException
DVFactoryException
- cannot create an instance of the specified
class name or the default class namepublic static final DTDDVFactory getInstance(java.lang.String factoryClass) throws DVFactoryException
factoryClass
- name of the implementation to load.
DVFactoryException
- cannot create an instance of the specified
class name or the default class namepublic abstract DatatypeValidator getBuiltInDV(java.lang.String name)
name
- the name of the datatype
public abstract java.util.Hashtable getBuiltInTypes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |