APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.impl.dv.dtd

public Class DTDDVFactoryImpl

extends DTDDVFactory
Class Inheritance
Known Direct Subclasses
com.sun.org.apache.xerces.internal.impl.dv.dtd.XML11DTDDVFactoryImpl
Imports
com.sun.org.apache.xerces.internal.impl.dv.DTDDVFactory, .DatatypeValidator, java.util.Collections, .HashMap, .Map

the factory to create/return built-in schema DVs and create user-defined DVs
Author
Sandy Gao, IBM

Field Summary

Modifier and TypeField and Description
pack-priv static final Map<String, DatatypeValidator>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public DatatypeValidator

Returns:

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

Implements abstract com.sun.org.apache.xerces.internal.impl.dv.DTDDVFactory.getBuiltInDV.

return a dtd type of the given name

public Map<String, DatatypeValidator>

Returns:

a Map which contains all datatypes
getBuiltInTypes
()

Implements abstract com.sun.org.apache.xerces.internal.impl.dv.DTDDVFactory.getBuiltInTypes.

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

Inherited from com.sun.org.apache.xerces.internal.impl.dv.DTDDVFactory:
getInstancegetInstance

Field Detail

fBuiltInTypesback to summary
pack-priv static final Map<String, DatatypeValidator> fBuiltInTypes

Constructor Detail

DTDDVFactoryImplback to summary
public DTDDVFactoryImpl()

Method Detail

getBuiltInDVback to summary
public DatatypeValidator getBuiltInDV(String name)

Implements abstract com.sun.org.apache.xerces.internal.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

Annotations
@Override
getBuiltInTypesback to summary
public Map<String, DatatypeValidator> getBuiltInTypes()

Implements abstract com.sun.org.apache.xerces.internal.impl.dv.DTDDVFactory.getBuiltInTypes.

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

Returns:Map<String, DatatypeValidator>

a Map which contains all datatypes

Annotations
@Override