Class TLcdXMLSchemaElement
java.lang.Object
com.luciad.format.xml.bind.schema.TLcdXMLSchemaElement
Represents an element declaration in an XML Schema.
An element has an identifier, uniquely defining the element within the schema,
an associated type and, optionally, a substitution group it is part of.
- Since:
- 9.0
-
Constructor Summary
ConstructorDescriptionTLcdXMLSchemaElement
(TLcdXMLSchemaElementIdentifier aIdentifier, TLcdXMLSchemaType aType, TLcdXMLSchemaElement aSubstitutionGroup) Creates a newTLcdXMLSchemaElement
, with the specified identifier, type and substitution group. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the unique identifier of this schema element.Return the substitution group this element is part of, ornull
if this element is not part of a substitution group.getType()
Return the type of this element.int
hashCode()
boolean
isSubstitutableBy
(TLcdXMLSchemaElement aElement) Returnstrue
if this element is substitutable by the specified element,false
otherwise.toString()
-
Constructor Details
-
TLcdXMLSchemaElement
public TLcdXMLSchemaElement(TLcdXMLSchemaElementIdentifier aIdentifier, TLcdXMLSchemaType aType, TLcdXMLSchemaElement aSubstitutionGroup) Creates a newTLcdXMLSchemaElement
, with the specified identifier, type and substitution group.- Parameters:
aIdentifier
- the unique identifier of the element to be created.aType
- the type of the element to be created.aSubstitutionGroup
- the substitution group the element to be created is part of, ornull
if it is not part of a substitution group.
-
-
Method Details
-
getIdentifier
Returns the unique identifier of this schema element.- Returns:
- the unique identifier of this schema element.
-
getType
Return the type of this element.- Returns:
- the type of this element.
-
getSubstitutionGroup
Return the substitution group this element is part of, ornull
if this element is not part of a substitution group.- Returns:
- the substitution group this element is part of, or
null
if this element is not part of a substitution group.
-
isSubstitutableBy
Returnstrue
if this element is substitutable by the specified element,false
otherwise.- Parameters:
aElement
- the element to be checked.- Returns:
true
if this element is substitutable by the specified element,false
otherwise.
-
equals
-
hashCode
public int hashCode() -
toString
-