public abstract class BaseSchemaDVFactory extends SchemaDVFactory
Modifier and Type | Field and Description |
---|---|
protected XSDeclarationPool |
fDeclPool |
Constructor and Description |
---|
BaseSchemaDVFactory() |
Modifier and Type | Method and Description |
---|---|
protected static void |
createBuiltInTypes(SymbolHash builtInTypes,
XSSimpleTypeDecl baseAtomicType) |
XSSimpleType |
createTypeList(java.lang.String name,
java.lang.String targetNamespace,
short finalSet,
XSSimpleType itemType,
org.apache.xerces.xs.XSObjectList annotations)
Create a new simple type which is derived by list from another simple
type.
|
XSSimpleType |
createTypeRestriction(java.lang.String name,
java.lang.String targetNamespace,
short finalSet,
XSSimpleType base,
org.apache.xerces.xs.XSObjectList annotations)
Create a new simple type which is derived by restriction from another
simple type.
|
XSSimpleType |
createTypeUnion(java.lang.String name,
java.lang.String targetNamespace,
short finalSet,
XSSimpleType[] memberTypes,
org.apache.xerces.xs.XSObjectList annotations)
Create a new simple type which is derived by union from a list of other
simple types.
|
XSSimpleTypeDecl |
newXSSimpleTypeDecl()
Implementation internal
|
void |
setDeclPool(XSDeclarationPool declPool) |
getBuiltInType, getBuiltInTypes, getInstance, getInstance
protected XSDeclarationPool fDeclPool
protected static void createBuiltInTypes(SymbolHash builtInTypes, XSSimpleTypeDecl baseAtomicType)
public XSSimpleType createTypeRestriction(java.lang.String name, java.lang.String targetNamespace, short finalSet, XSSimpleType base, org.apache.xerces.xs.XSObjectList annotations)
createTypeRestriction
in class SchemaDVFactory
name
- name of the new type, could be nulltargetNamespace
- target namespace of the new type, could be nullfinalSet
- value of "final"base
- base type of the new typeannotations
- set of annotationspublic XSSimpleType createTypeList(java.lang.String name, java.lang.String targetNamespace, short finalSet, XSSimpleType itemType, org.apache.xerces.xs.XSObjectList annotations)
createTypeList
in class SchemaDVFactory
name
- name of the new type, could be nulltargetNamespace
- target namespace of the new type, could be nullfinalSet
- value of "final"itemType
- item type of the list typeannotations
- set of annotationspublic XSSimpleType createTypeUnion(java.lang.String name, java.lang.String targetNamespace, short finalSet, XSSimpleType[] memberTypes, org.apache.xerces.xs.XSObjectList annotations)
createTypeUnion
in class SchemaDVFactory
name
- name of the new type, could be nulltargetNamespace
- target namespace of the new type, could be nullfinalSet
- value of "final"memberTypes
- member types of the union typeannotations
- set of annotationspublic void setDeclPool(XSDeclarationPool declPool)
public XSSimpleTypeDecl newXSSimpleTypeDecl()
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.