public final class TLcdXMLSchemaElement extends Object
Constructor and Description |
---|
TLcdXMLSchemaElement(TLcdXMLSchemaElementIdentifier aIdentifier,
TLcdXMLSchemaType aType,
TLcdXMLSchemaElement aSubstitutionGroup)
Creates a new
TLcdXMLSchemaElement , with the specified identifier, type and substitution group. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
TLcdXMLSchemaElementIdentifier |
getIdentifier()
Returns the unique identifier of this schema element.
|
TLcdXMLSchemaElement |
getSubstitutionGroup()
Return the substitution group this element is part of, or
null if this element is not part of a
substitution group. |
TLcdXMLSchemaType |
getType()
Return the type of this element.
|
int |
hashCode() |
boolean |
isSubstitutableBy(TLcdXMLSchemaElement aElement)
Returns
true if this element is substitutable by the specified element, false otherwise. |
String |
toString() |
public TLcdXMLSchemaElement(TLcdXMLSchemaElementIdentifier aIdentifier, TLcdXMLSchemaType aType, TLcdXMLSchemaElement aSubstitutionGroup)
TLcdXMLSchemaElement
, with the specified identifier, type and substitution group.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, or null
if it is not
part of a substitution group.public TLcdXMLSchemaElementIdentifier getIdentifier()
public TLcdXMLSchemaType getType()
public TLcdXMLSchemaElement getSubstitutionGroup()
null
if this element is not part of a
substitution group.null
if this element is not part of a
substitution group.public boolean isSubstitutableBy(TLcdXMLSchemaElement aElement)
true
if this element is substitutable by the specified element, false
otherwise.aElement
- the element to be checked.true
if this element is substitutable by the specified element, false
otherwise.