Class TLcdXMLSchemaType
java.lang.Object
com.luciad.format.xml.bind.schema.TLcdXMLSchemaType
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 Summary
ConstructorDescriptionTLcdXMLSchemaType
(TLcdXMLSchemaTypeIdentifier aIdentifier, TLcdXMLSchemaType aBaseType) Creates a newTLcdXMLSchemaType
object. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the base type this type extends from, ornull
if this type does not extend from another type.Returns the unique identifier of this schema type.int
hashCode()
boolean
isOfType
(TLcdXMLSchemaType aType) Returnstrue
if this type is a subtype of the specified type,false
otherwise.toString()
-
Constructor Details
-
TLcdXMLSchemaType
Creates a newTLcdXMLSchemaType
object.- Parameters:
aIdentifier
- the type identifier uniquely identifying this schema type.aBaseType
- the XML base type of this type.
-
-
Method Details
-
getIdentifier
Returns the unique identifier of this schema type.- Returns:
- the unique identifier of this schema type.
-
getBaseType
Returns the base type this type extends from, ornull
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
Returnstrue
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
-
hashCode
public int hashCode() -
toString
-