Methods Summary |
---|
public abstract DatatypeValidator | getBuiltInDV(java.lang.String name)return a dtd type of the given name
|
public abstract java.util.Hashtable | getBuiltInTypes()get all built-in DVs, which are stored in a hashtable keyed by the name
|
public static final org.apache.xerces.impl.dv.DTDDVFactory | getInstance()Get an instance of the default DTDDVFactory implementation.
return getInstance(DEFAULT_FACTORY_CLASS);
|
public static final org.apache.xerces.impl.dv.DTDDVFactory | getInstance(java.lang.String factoryClass)Get an instance of DTDDVFactory implementation.
try {
// if the class name is not specified, use the default one
return (DTDDVFactory)
(ObjectFactory.newInstance(factoryClass, ObjectFactory.findClassLoader(), true));
}
catch (ClassCastException e) {
throw new DVFactoryException("DTD factory class " + factoryClass + " does not extend from DTDDVFactory.");
}
|