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

public Class ExtendedSchemaDVFactoryImpl

extends BaseSchemaDVFactory
Class Inheritance
Imports
com.sun.org.apache.xerces.internal.impl.dv.XSSimpleType, com.sun.org.apache.xerces.internal.util.SymbolHash

A special factory to create/return built-in schema DVs and create user-defined DVs that includes anyAtomicType, yearMonthDuration and dayTimeDuration
Author
Khaled Noaman, IBM

Field Summary

Modifier and TypeField and Description
pack-priv static SymbolHash
Inherited from com.sun.org.apache.xerces.internal.impl.dv.xs.BaseSchemaDVFactory:
fDeclPoolURI_SCHEMAFORSCHEMA

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
)

Implements abstract com.sun.org.apache.xerces.internal.impl.dv.SchemaDVFactory.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
()

Implements abstract com.sun.org.apache.xerces.internal.impl.dv.SchemaDVFactory.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.BaseSchemaDVFactory:
createBuiltInTypescreateTypeListcreateTypeRestrictioncreateTypeUnionnewXSSimpleTypeDeclsetDeclPool

Field Detail

fBuiltInTypesback to summary
pack-priv static SymbolHash fBuiltInTypes

Constructor Detail

ExtendedSchemaDVFactoryImplback to summary
public ExtendedSchemaDVFactoryImpl()

Method Detail

createBuiltInTypesback to summary
pack-priv static void createBuiltInTypes()
getBuiltInTypeback to summary
public XSSimpleType getBuiltInType(String name)

Implements abstract com.sun.org.apache.xerces.internal.impl.dv.SchemaDVFactory.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()

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