Class TypeInfoImpl

  • All Implemented Interfaces:
    TypeInfo

    public class TypeInfoImpl
    extends Object
    implements TypeInfo
    This class implements the DOM TypeInfo interface as a wrapper over the Saxon SchemaType interface.
    • Constructor Detail

      • TypeInfoImpl

        public TypeInfoImpl​(Configuration config,
                            SchemaType type)
        Construct a TypeInfo based on a SchemaType
        Parameters:
        config - the Saxon Configuration
        type - the schema type to be wrapped by this TypeInfo
    • Method Detail

      • getTypeName

        public String getTypeName()
        Get the local name of the type (a system-allocated name if anonymous). Needed to implement the DOM level 3 TypeInfo interface.
        Specified by:
        getTypeName in interface TypeInfo
      • getTypeNamespace

        public String getTypeNamespace()
        Get the namespace name of the type (a system-allocated name if anonymous). Needed to implement the DOM level 3 TypeInfo interface.
        Specified by:
        getTypeNamespace in interface TypeInfo