Methods Summary |
---|
public abstract com.sun.org.apache.xerces.internal.impl.dv.XSSimpleType | createTypeList(java.lang.String name, java.lang.String targetNamespace, short finalSet, com.sun.org.apache.xerces.internal.impl.dv.XSSimpleType itemType, com.sun.org.apache.xerces.internal.xs.XSObjectList annotations)Create a new simple type which is derived by list from another simple
type.
|
public abstract com.sun.org.apache.xerces.internal.impl.dv.XSSimpleType | createTypeRestriction(java.lang.String name, java.lang.String targetNamespace, short finalSet, com.sun.org.apache.xerces.internal.impl.dv.XSSimpleType base, com.sun.org.apache.xerces.internal.xs.XSObjectList annotations)Create a new simple type which is derived by restriction from another
simple type.
|
public abstract com.sun.org.apache.xerces.internal.impl.dv.XSSimpleType | createTypeUnion(java.lang.String name, java.lang.String targetNamespace, short finalSet, com.sun.org.apache.xerces.internal.impl.dv.XSSimpleType[] memberTypes, com.sun.org.apache.xerces.internal.xs.XSObjectList annotations)Create a new simple type which is derived by union from a list of other
simple types.
|
public abstract com.sun.org.apache.xerces.internal.impl.dv.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 com.sun.org.apache.xerces.internal.util.SymbolHash | getBuiltInTypes()get all built-in simple types, which are stored in a SymbolHash keyed by
the name
|
public static final synchronized com.sun.org.apache.xerces.internal.impl.dv.SchemaDVFactory | getInstance()Get a default instance of SchemaDVFactory implementation.
return getInstance(DEFAULT_FACTORY_CLASS);
|
public static final synchronized com.sun.org.apache.xerces.internal.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.");
}
|