Class TLcdXMLSchemaSet
java.lang.Object
com.luciad.format.xml.bind.schema.TLcdXMLSchemaSet
Container of XML Schema information which is used by the XML Binding Framework.
- Since:
- 9.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetElement(TLcdXMLSchemaElementIdentifier aIdentifier) Returns the schema element, corresponding to the specified element identifier, ornullif no such element exists.Returns the set of all schema elements contained in this schema set.getGlobalElement(QName aName) Returns the global schema element, corresponding to the specified qualified name, ornullif no such element exists.Returns the set of all global schema elements contained in this schema set.booleanisSubstitutableBy(QName aSubstitutionHeadName, QName aSubstituteName) Returnstrueif a global element exists in this schema set with nameaSubstituteName, which is in the substitution group of the global element with nameaSubstitutionHeadName, also contained in this schema set,falseotherwise.voidregisterElement(TLcdXMLSchemaElement aElement) Registers the specified schema element on this schema set.
-
Constructor Details
-
TLcdXMLSchemaSet
public TLcdXMLSchemaSet()
-
-
Method Details
-
registerElement
Registers the specified schema element on this schema set.- Parameters:
aElement- a schema element to be included with this schema set.
-
getElements
Returns the set of all schema elements contained in this schema set.- Returns:
- the set of all schema elements contained in this schema set.
-
getGlobalElements
Returns the set of all global schema elements contained in this schema set.- Returns:
- the set of all global schema elements contained in this schema set.
-
getGlobalElement
Returns the global schema element, corresponding to the specified qualified name, ornullif no such element exists.- Parameters:
aName- the global qualified name of the schema element to be returned.- Returns:
- the global schema element, corresponding to the specified qualified name, or
nullif no such element exists.
-
getElement
Returns the schema element, corresponding to the specified element identifier, ornullif no such element exists.- Parameters:
aIdentifier- the identifier of the schema element to be returned.- Returns:
- the global schema element, corresponding to the specified element identifier, or
nullif no such element exists.
-
isSubstitutableBy
Returnstrueif a global element exists in this schema set with nameaSubstituteName, which is in the substitution group of the global element with nameaSubstitutionHeadName, also contained in this schema set,falseotherwise.- Parameters:
aSubstitutionHeadName- the qualified name of a substitution head element.aSubstituteName- the qualified name of the element to be tested.- Returns:
trueif the element with nameaSubstituteNameis in the substitution group of the element with nameaSubstitutionHeadName,falseotherwise.
-