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

public Class FullDVFactory

extends BaseDVFactory
Class Inheritance
Imports
org.apache.xerces.impl.dv.XSFacets, .XSSimpleType, org.apache.xerces.util.SymbolHash, org.apache.xerces.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
Version
$Id: FullDVFactory.java 699892 2008-09-28 21:08:27Z mrglavas $

Field Summary

Modifier and TypeField and Description
pack-priv static SymbolHash
pack-priv static final String
Inherited from org.apache.xerces.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 org.apache.xerces.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 org.apache.xerces.impl.dv.xs.BaseDVFactory.getBuiltInTypes.

get all built-in simple types, which are stored in a hashtable keyed by the name
Inherited from org.apache.xerces.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 org.apache.xerces.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 org.apache.xerces.impl.dv.xs.BaseDVFactory.createBuiltInTypes.

getBuiltInTypeback to summary
public XSSimpleType getBuiltInType(String name)

Overrides org.apache.xerces.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 org.apache.xerces.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