public abstract class DTDDVFactory extends Object
Modifier | Constructor and Description |
---|---|
protected |
DTDDVFactory() |
Modifier and Type | Method and Description |
---|---|
abstract DatatypeValidator |
getBuiltInDV(String name)
return a dtd type of the given name
|
abstract 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(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(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(String name)
name
- the name of the datatypepublic abstract Hashtable getBuiltInTypes()
Copyright © 2017 JBoss by Red Hat. All rights reserved.