public abstract class DTDDVFactory
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
DTDDVFactory() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 datatypepublic abstract java.util.Hashtable getBuiltInTypes()
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.