Class TypeReference

All Implemented Interfaces:
Serializable

public class TypeReference extends XMLType
Package private class to handles type references.
Version:
$Revision:
Author:
Arnaud Berry
See Also:
  • Constructor Details

    • TypeReference

      public TypeReference()
  • Method Details

    • getType

      XMLType getType()
      Returns the referred type
      Overrides:
      getType in class XMLType
      Returns:
      the type this type "really" represents
    • resolveTypeReference

      void resolveTypeReference()
      Resolves the type reference.
    • setParent

      protected void setParent(Structure parent)
      Sets the parent for this Schema type
      Specified by:
      setParent in class XMLType
      Parameters:
      parent - the parent Structure for SchemaType
    • getStructureType

      public short getStructureType()
      Returns Structure.UNKNOWN (This class should not be seen outside ElementDecl anyway)
      Specified by:
      getStructureType in class Structure
      Returns:
      the type of this Schema Structure.
    • validate

      public void validate() throws ValidationException
      Checks the validity of this type defintion.
      Specified by:
      validate in class Structure
      Throws:
      ValidationException - when this type definition is invalid.