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

public Class FullDVFactory

extends BaseDVFactory
Class Inheritance
Imports
com.sun.org.apache.xerces.internal.impl.dv.XSSimpleType, .XSFacets, com.sun.org.apache.xerces.internal.util.SymbolHash, com.sun.org.apache.xerces.internal.xs.XSConstants

the factory to create/return built-in schema DVs and create user-defined DVs
Authors
Neeraj Bajaj, Sun Microsystems, inc., Sandy Gao, IBM

Field Summary

Modifier and TypeField and Description
pack-priv static SymbolHash
pack-priv static final String
Inherited from com.sun.org.apache.xerces.internal.impl.dv.xs.BaseDVFactory:
fBaseTypes

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Returns:

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

Overrides com.sun.org.apache.xerces.internal.impl.dv.xs.BaseDVFactory.getBuiltInType.

Get a built-in simple type of the given name

Revisit

its still not decided within the Schema WG how to define the ur-types and if all simple types should be derived from a complex type, so as of now we ignore the fact that anySimpleType is derived from anyType, and pass 'null' as the base of anySimpleType.

public SymbolHash

Returns:

a hashtable which contains all built-in simple types
getBuiltInTypes
()

Overrides com.sun.org.apache.xerces.internal.impl.dv.xs.BaseDVFactory.getBuiltInTypes.

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

Inherited from com.sun.org.apache.xerces.internal.impl.dv.xs.BaseDVFactory:
createTypeListcreateTypeRestrictioncreateTypeUnion

Field Detail

fFullTypesback to summary
pack-priv static SymbolHash fFullTypes
URI_SCHEMAFORSCHEMAback to summary
pack-priv static final String URI_SCHEMAFORSCHEMA

Hides com.sun.org.apache.xerces.internal.impl.dv.xs.BaseDVFactory.URI_SCHEMAFORSCHEMA.

Constructor Detail

FullDVFactoryback to summary
public FullDVFactory()

Method Detail

createBuiltInTypesback to summary
pack-priv static void createBuiltInTypes(SymbolHash types)

Hides com.sun.org.apache.xerces.internal.impl.dv.xs.BaseDVFactory.createBuiltInTypes.

getBuiltInTypeback to summary
public XSSimpleType getBuiltInType(String name)

Overrides com.sun.org.apache.xerces.internal.impl.dv.xs.BaseDVFactory.getBuiltInType.

Get a built-in simple type of the given name

Revisit

its still not decided within the Schema WG how to define the ur-types and if all simple types should be derived from a complex type, so as of now we ignore the fact that anySimpleType is derived from anyType, and pass 'null' as the base of anySimpleType. It needs to be changed as per the decision taken.

Parameters
name:String

the name of the datatype

Returns:XSSimpleType

the datatype validator of the given name

getBuiltInTypesback to summary
public SymbolHash getBuiltInTypes()

Overrides com.sun.org.apache.xerces.internal.impl.dv.xs.BaseDVFactory.getBuiltInTypes.

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

Returns:SymbolHash

a hashtable which contains all built-in simple types