Class TLcdXMLSchemaSet

java.lang.Object
com.luciad.format.xml.bind.schema.TLcdXMLSchemaSet

public class TLcdXMLSchemaSet extends Object
Container of XML Schema information which is used by the XML Binding Framework.
Since:
9.0
  • Constructor Details

    • TLcdXMLSchemaSet

      public TLcdXMLSchemaSet()
  • Method Details

    • registerElement

      public void registerElement(TLcdXMLSchemaElement aElement)
      Registers the specified schema element on this schema set.
      Parameters:
      aElement - a schema element to be included with this schema set.
    • getElements

      public Set<TLcdXMLSchemaElement> 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

      public Set<TLcdXMLSchemaElement> 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

      public TLcdXMLSchemaElement getGlobalElement(QName aName)
      Returns the global schema element, corresponding to the specified qualified name, or null 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

      public TLcdXMLSchemaElement getElement(TLcdXMLSchemaElementIdentifier aIdentifier)
      Returns the schema element, corresponding to the specified element identifier, or null 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

      public boolean isSubstitutableBy(QName aSubstitutionHeadName, QName aSubstituteName)
      Returns true if a global element exists in this schema set with name aSubstituteName, which is in the substitution group of the global element with name aSubstitutionHeadName, 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 name aSubstituteName is in the substitution group of the element with name aSubstitutionHeadName, false otherwise.