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

public Class ExtendedSchemaDVFactoryImpl

extends BaseSchemaDVFactory
Class Inheritance
Imports
org.apache.xerces.impl.dv.XSSimpleType, org.apache.xerces.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
Version
$Id: ExtendedSchemaDVFactoryImpl.java 710089 2008-11-03 16:01:16Z knoaman $

Field Summary

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