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
-
Method Summary
Modifier and TypeMethodDescriptiongetElement
(TLcdXMLSchemaElementIdentifier aIdentifier) Returns the schema element, corresponding to the specified element identifier, ornull
if 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, ornull
if no such element exists.Returns the set of all global schema elements contained in this schema set.boolean
isSubstitutableBy
(QName aSubstitutionHeadName, QName aSubstituteName) Returnstrue
if 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,false
otherwise.void
registerElement
(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, ornull
if 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
null
if no such element exists.
-
getElement
Returns the schema element, corresponding to the specified element identifier, ornull
if 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
null
if no such element exists.
-
isSubstitutableBy
Returnstrue
if 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,false
otherwise.- Parameters:
aSubstitutionHeadName
- the qualified name of a substitution head element.aSubstituteName
- the qualified name of the element to be tested.- Returns:
true
if the element with nameaSubstituteName
is in the substitution group of the element with nameaSubstitutionHeadName
,false
otherwise.
-