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
ConstructorsConstructorDescriptionTLcdXMLSchemaElement(TLcdXMLSchemaElementIdentifier aIdentifier, TLcdXMLSchemaType aType, TLcdXMLSchemaElement aSubstitutionGroup) Creates a newTLcdXMLSchemaElement, with the specified identifier, type and substitution group. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the unique identifier of this schema element.Return the substitution group this element is part of, ornullif this element is not part of a substitution group.getType()Return the type of this element.inthashCode()booleanisSubstitutableBy(TLcdXMLSchemaElement aElement) Returnstrueif this element is substitutable by the specified element,falseotherwise.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, ornullif 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, ornullif this element is not part of a substitution group.- Returns:
- the substitution group this element is part of, or
nullif this element is not part of a substitution group.
-
isSubstitutableBy
Returnstrueif this element is substitutable by the specified element,falseotherwise.- Parameters:
aElement- the element to be checked.- Returns:
trueif this element is substitutable by the specified element,falseotherwise.
-
equals
-
hashCode
public int hashCode() -
toString
-