Methods Summary |
---|
public abstract 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.
|
public abstract 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.
|
public abstract 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.
|
public abstract XSSimpleType | getBuiltInType(java.lang.String name)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.
|
public abstract org.apache.xerces.util.SymbolHash | getBuiltInTypes()get all built-in simple types, which are stored in a SymbolHash keyed by
the name
|
public static final org.apache.xerces.impl.dv.SchemaDVFactory | getInstance()Get a default instance of SchemaDVFactory implementation.
return getInstance(DEFAULT_FACTORY_CLASS);
|
public static final org.apache.xerces.impl.dv.SchemaDVFactory | getInstance(java.lang.String factoryClass)Get an instance of SchemaDVFactory implementation.
try {
// if the class name is not specified, use the default one
return (SchemaDVFactory)(ObjectFactory.newInstance(
factoryClass, ObjectFactory.findClassLoader(), true));
}
catch (ClassCastException e4) {
throw new DVFactoryException("Schema factory class " + factoryClass + " does not extend from SchemaDVFactory.");
}
|