Class UndefinedType

  • All Implemented Interfaces:
    java.io.Serializable, Undefined

    public class UndefinedType
    extends Type
    implements Undefined
    This represents a QName found in a reference but is not defined. If the type is later defined, the UndefinedType is replaced with a new Type
    See Also:
    Serialized Form
    • Constructor Detail

      • UndefinedType

        public UndefinedType​(QName pqName)
        Construct a referenced (but as of yet undefined) type
        Parameters:
        pqName -
    • Method Detail

      • register

        public void register​(TypeEntry referrant)
        Register referrant TypeEntry so that the code can update the TypeEntry when the Undefined Element or Type is defined
        Specified by:
        register in interface Undefined
        Parameters:
        referrant -
      • update

        public void update​(TypeEntry def)
                    throws java.io.IOException
        Call update with the actual TypeEntry. This updates all of the referrant TypeEntry's that were registered.
        Specified by:
        update in interface Undefined
        Parameters:
        def -
        Throws:
        java.io.IOException