Class TLcdXMLSchemaType

java.lang.Object
com.luciad.format.xml.bind.schema.TLcdXMLSchemaType

public final class TLcdXMLSchemaType extends Object
Represents a type declaration in an XML Schema.

An element has an identifier, uniquely defining the type within the schema, and a base type from which it extends.

Since:
9.0
  • Constructor Details

    • TLcdXMLSchemaType

      public TLcdXMLSchemaType(TLcdXMLSchemaTypeIdentifier aIdentifier, TLcdXMLSchemaType aBaseType)
      Creates a new TLcdXMLSchemaType object.
      Parameters:
      aIdentifier - the type identifier uniquely identifying this schema type.
      aBaseType - the XML base type of this type.
  • Method Details

    • getIdentifier

      public TLcdXMLSchemaTypeIdentifier getIdentifier()
      Returns the unique identifier of this schema type.
      Returns:
      the unique identifier of this schema type.
    • getBaseType

      public TLcdXMLSchemaType getBaseType()
      Returns the base type this type extends from, or null if this type does not extend from another type.
      Returns:
      the base type this type extends from, or null if this type does not extend from another type.
    • isOfType

      public boolean isOfType(TLcdXMLSchemaType aType)
      Returns true if this type is a subtype of the specified type, false otherwise.
      Parameters:
      aType - the type to be tested.
      Returns:
      true if this type is a subtype of the specified type, false otherwise.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object