Top Description Fields Constructors Methods
org.apache.xerces.impl.dv.dtd

public Class DTDDVFactoryImpl

extends DTDDVFactory
Class Inheritance
Known Direct Subclasses
org.apache.xerces.impl.dv.dtd.XML11DTDDVFactoryImpl
Imports
java.util.Hashtable, org.apache.xerces.impl.dv.DTDDVFactory, .DatatypeValidator

the factory to create/return built-in schema DVs and create user-defined DVs
Author
Sandy Gao, IBM
Version
$Id: DTDDVFactoryImpl.java 699892 2008-09-28 21:08:27Z mrglavas $

Field Summary

Modifier and TypeField and Description
pack-priv static final Hashtable<K, V>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv static void
public DatatypeValidator

Returns:

the datatype validator of the given name
getBuiltInDV
(String
the name of the datatype
name
)

Implements abstract org.apache.xerces.impl.dv.DTDDVFactory.getBuiltInDV.

return a dtd type of the given name
public Hashtable<K, V>

Returns:

a hashtable which contains all datatypes
getBuiltInTypes
()

Implements abstract org.apache.xerces.impl.dv.DTDDVFactory.getBuiltInTypes.

get all built-in DVs, which are stored in a hashtable keyed by the name
Inherited from org.apache.xerces.impl.dv.DTDDVFactory:
getInstancegetInstance

Field Detail

fBuiltInTypesback to summary
pack-priv static final Hashtable<K, V> fBuiltInTypes

Constructor Detail

DTDDVFactoryImplback to summary
public DTDDVFactoryImpl()

Method Detail

createBuiltInTypesback to summary
pack-priv static void createBuiltInTypes()
getBuiltInDVback to summary
public DatatypeValidator getBuiltInDV(String name)

Implements abstract org.apache.xerces.impl.dv.DTDDVFactory.getBuiltInDV.

return a dtd type of the given name

Parameters
name:String

the name of the datatype

Returns:DatatypeValidator

the datatype validator of the given name

getBuiltInTypesback to summary
public Hashtable<K, V> getBuiltInTypes()

Implements abstract org.apache.xerces.impl.dv.DTDDVFactory.getBuiltInTypes.

get all built-in DVs, which are stored in a hashtable keyed by the name

Returns:Hashtable<K, V>

a hashtable which contains all datatypes