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
ConstructorsConstructorDescriptionTLcdXMLSchemaType(TLcdXMLSchemaTypeIdentifier aIdentifier, TLcdXMLSchemaType aBaseType) Creates a newTLcdXMLSchemaTypeobject. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the base type this type extends from, ornullif this type does not extend from another type.Returns the unique identifier of this schema type.inthashCode()booleanisOfType(TLcdXMLSchemaType aType) Returnstrueif this type is a subtype of the specified type,falseotherwise.toString()
-
Constructor Details
-
TLcdXMLSchemaType
Creates a newTLcdXMLSchemaTypeobject.- 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, ornullif this type does not extend from another type.- Returns:
- the base type this type extends from, or
nullif this type does not extend from another type.
-
isOfType
Returnstrueif this type is a subtype of the specified type,falseotherwise.- Parameters:
aType- the type to be tested.- Returns:
trueif this type is a subtype of the specified type,falseotherwise.
-
equals
-
hashCode
public int hashCode() -
toString
-