Class BaseSchemaDVFactory

java.lang.Object
org.apache.jena.ext.xerces.impl.dv.SchemaDVFactory
org.apache.jena.ext.xerces.impl.dv.xs.BaseSchemaDVFactory
Direct Known Subclasses:
ExtendedSchemaDVFactoryImpl, SchemaDVFactoryImpl

public abstract class BaseSchemaDVFactory extends SchemaDVFactory
the base factory to create/return built-in schema DVs and create user-defined DVs @xerces.internal
Version:
$Id: BaseSchemaDVFactory.java 805582 2009-08-18 21:13:20Z sandygao $
Author:
Neeraj Bajaj, Sun Microsystems, inc., Sandy Gao, IBM, Khaled Noaman, IBM
  • Constructor Details

    • BaseSchemaDVFactory

      public BaseSchemaDVFactory()
  • Method Details

    • createTypeRestriction

      public XSSimpleType createTypeRestriction(String name, String targetNamespace, short finalSet, XSSimpleType base, XSObjectList annotations)
      Create a new simple type which is derived by restriction from another simple type.
      Specified by:
      createTypeRestriction in class SchemaDVFactory
      Parameters:
      name - name of the new type, could be null
      targetNamespace - target namespace of the new type, could be null
      finalSet - value of "final"
      base - base type of the new type
      annotations - set of annotations
      Returns:
      the newly created simple type
    • createTypeList

      public XSSimpleType createTypeList(String name, String targetNamespace, short finalSet, XSSimpleType itemType, XSObjectList annotations)
      Create a new simple type which is derived by list from another simple type.
      Specified by:
      createTypeList in class SchemaDVFactory
      Parameters:
      name - name of the new type, could be null
      targetNamespace - target namespace of the new type, could be null
      finalSet - value of "final"
      itemType - item type of the list type
      annotations - set of annotations
      Returns:
      the newly created simple type
    • createTypeUnion

      public XSSimpleType createTypeUnion(String name, String targetNamespace, short finalSet, XSSimpleType[] memberTypes, XSObjectList annotations)
      Create a new simple type which is derived by union from a list of other simple types.
      Specified by:
      createTypeUnion in class SchemaDVFactory
      Parameters:
      name - name of the new type, could be null
      targetNamespace - target namespace of the new type, could be null
      finalSet - value of "final"
      memberTypes - member types of the union type
      annotations - set of annotations
      Returns:
      the newly created simple type
    • setDeclPool

      public void setDeclPool(XSDeclarationPool declPool)
    • newXSSimpleTypeDecl

      public XSSimpleTypeDecl newXSSimpleTypeDecl()
      Implementation internal