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

public Class XML11DTDDVFactoryImpl

extends DTDDVFactoryImpl
Class Inheritance
Imports
com.sun.org.apache.xerces.internal.impl.dv.DatatypeValidator, java.util.Collections, .HashMap, .Map

the factory to create/return built-in XML 1.1 DVs and create user-defined DVs
Author
Neil Graham, IBM

Field Summary

Modifier and TypeField and Description
pack-priv static Map<String, DatatypeValidator>
Inherited from com.sun.org.apache.xerces.internal.impl.dv.dtd.DTDDVFactoryImpl:
fBuiltInTypes

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
)

Overrides com.sun.org.apache.xerces.internal.impl.dv.dtd.DTDDVFactoryImpl.getBuiltInDV.

return a dtd type of the given name This will call the super class if and only if it does not recognize the passed-in name.

public Map<String, DatatypeValidator>

Returns:

a Map which contains all datatypes
getBuiltInTypes
()

Overrides com.sun.org.apache.xerces.internal.impl.dv.dtd.DTDDVFactoryImpl.getBuiltInTypes.

get all built-in DVs, which are stored in a Map keyed by the name New XML 1.1 datatypes are inserted.

Field Detail

XML11BUILTINTYPESback to summary
pack-priv static Map<String, DatatypeValidator> XML11BUILTINTYPES

Constructor Detail

XML11DTDDVFactoryImplback to summary
public XML11DTDDVFactoryImpl()

Method Detail

getBuiltInDVback to summary
public DatatypeValidator getBuiltInDV(String name)

Overrides com.sun.org.apache.xerces.internal.impl.dv.dtd.DTDDVFactoryImpl.getBuiltInDV.

return a dtd type of the given name This will call the super class if and only if it does not recognize the passed-in 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()

Overrides com.sun.org.apache.xerces.internal.impl.dv.dtd.DTDDVFactoryImpl.getBuiltInTypes.

get all built-in DVs, which are stored in a Map keyed by the name New XML 1.1 datatypes are inserted.

Returns:Map<String, DatatypeValidator>

a Map which contains all datatypes

Annotations
@Override