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

public abstract Class BaseSchemaDVFactory

extends SchemaDVFactory
Class Inheritance
Known Direct Subclasses
com.sun.org.apache.xerces.internal.impl.dv.xs.ExtendedSchemaDVFactoryImpl, com.sun.org.apache.xerces.internal.impl.dv.xs.SchemaDVFactoryImpl
Imports
com.sun.org.apache.xerces.internal.impl.dv.SchemaDVFactory, .XSFacets, .XSSimpleType, com.sun.org.apache.xerces.internal.impl.xs.XSDeclarationPool, com.sun.org.apache.xerces.internal.util.SymbolHash, com.sun.org.apache.xerces.internal.xs.XSConstants, .XSObjectList

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

Field Summary

Modifier and TypeField and Description
protected XSDeclarationPool
pack-priv static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected static void
createBuiltInTypes(SymbolHash builtInTypes, XSSimpleTypeDecl baseAtomicType)

public XSSimpleType

Returns:

the newly created simple type
createTypeList
(String
name of the new type, could be null
name
,
String
target namespace of the new type, could be null
targetNamespace
,
short
value of "final"
finalSet
,
XSSimpleType
item type of the list type
itemType
,
XSObjectList
set of annotations
annotations
)

Implements abstract com.sun.org.apache.xerces.internal.impl.dv.SchemaDVFactory.createTypeList.

Create a new simple type which is derived by list from another simple type.

public XSSimpleType

Returns:

the newly created simple type
createTypeRestriction
(String
name of the new type, could be null
name
,
String
target namespace of the new type, could be null
targetNamespace
,
short
value of "final"
finalSet
,
XSSimpleType
base type of the new type
base
,
XSObjectList
set of annotations
annotations
)

Implements abstract com.sun.org.apache.xerces.internal.impl.dv.SchemaDVFactory.createTypeRestriction.

Create a new simple type which is derived by restriction from another simple type.

public XSSimpleType

Returns:

the newly created simple type
createTypeUnion
(String
name of the new type, could be null
name
,
String
target namespace of the new type, could be null
targetNamespace
,
short
value of "final"
finalSet
,
XSSimpleType[]
member types of the union type
memberTypes
,
XSObjectList
set of annotations
annotations
)

Implements abstract com.sun.org.apache.xerces.internal.impl.dv.SchemaDVFactory.createTypeUnion.

Create a new simple type which is derived by union from a list of other simple types.

public XSSimpleTypeDecl
newXSSimpleTypeDecl()

Implementation internal

public void
Inherited from com.sun.org.apache.xerces.internal.impl.dv.SchemaDVFactory:
getBuiltInTypegetBuiltInTypesgetInstancegetInstance

Field Detail

fDeclPoolback to summary
protected XSDeclarationPool fDeclPool
URI_SCHEMAFORSCHEMAback to summary
pack-priv static final String URI_SCHEMAFORSCHEMA

Constructor Detail

BaseSchemaDVFactoryback to summary
public BaseSchemaDVFactory()

Method Detail

createBuiltInTypesback to summary
protected static void createBuiltInTypes(SymbolHash builtInTypes, XSSimpleTypeDecl baseAtomicType)
createTypeListback to summary
public XSSimpleType createTypeList(String name, String targetNamespace, short finalSet, XSSimpleType itemType, XSObjectList annotations)

Implements abstract com.sun.org.apache.xerces.internal.impl.dv.SchemaDVFactory.createTypeList.

Create a new simple type which is derived by list from another simple type.

Parameters
name:String

name of the new type, could be null

targetNamespace:String

target namespace of the new type, could be null

finalSet:short

value of "final"

itemType:XSSimpleType

item type of the list type

annotations:XSObjectList

set of annotations

Returns:XSSimpleType

the newly created simple type

createTypeRestrictionback to summary
public XSSimpleType createTypeRestriction(String name, String targetNamespace, short finalSet, XSSimpleType base, XSObjectList annotations)

Implements abstract com.sun.org.apache.xerces.internal.impl.dv.SchemaDVFactory.createTypeRestriction.

Create a new simple type which is derived by restriction from another simple type.

Parameters
name:String

name of the new type, could be null

targetNamespace:String

target namespace of the new type, could be null

finalSet:short

value of "final"

base:XSSimpleType

base type of the new type

annotations:XSObjectList

set of annotations

Returns:XSSimpleType

the newly created simple type

createTypeUnionback to summary
public XSSimpleType createTypeUnion(String name, String targetNamespace, short finalSet, XSSimpleType[] memberTypes, XSObjectList annotations)

Implements abstract com.sun.org.apache.xerces.internal.impl.dv.SchemaDVFactory.createTypeUnion.

Create a new simple type which is derived by union from a list of other simple types.

Parameters
name:String

name of the new type, could be null

targetNamespace:String

target namespace of the new type, could be null

finalSet:short

value of "final"

memberTypes:XSSimpleType[]

member types of the union type

annotations:XSObjectList

set of annotations

Returns:XSSimpleType

the newly created simple type

newXSSimpleTypeDeclback to summary
public XSSimpleTypeDecl newXSSimpleTypeDecl()

Implementation internal

setDeclPoolback to summary
public void setDeclPool(XSDeclarationPool declPool)