Class TLcdXMLSchema

java.lang.Object
com.luciad.format.xml.schema.TLcdXMLSchema

public class TLcdXMLSchema extends Object
Deprecated.
Use of the com.format.xml.schema API has been deprecated. Instead, use the com.format.xml.bind.schema API.
Representation of an XML schema document.

This class is still subject to API changes; it should not be instantiated or used by users.

  • Constructor Details

    • TLcdXMLSchema

      public TLcdXMLSchema(ILcdXMLSchemaProvider aSchemaProvider, String aNamespaceURI)
      Deprecated.
      Creates a new TLcdXMLSchema for the specified namespace.
      Parameters:
      aSchemaProvider - the XML schema provider this schema is linked to.
      aNamespaceURI - the namespace of this XML schema.
  • Method Details

    • getSchemaProvider

      public ILcdXMLSchemaProvider getSchemaProvider()
      Deprecated.
    • getNameSpaceURI

      public String getNameSpaceURI()
      Deprecated.
      Returns the namespace URI of this schema.
      Returns:
      the namespace URI of this schema.
    • getImportedNamespaceURI

      public String getImportedNamespaceURI(int aIndex)
      Deprecated.
      Returns the namespace URI at the specified index, imported by this schema.
      Parameters:
      aIndex - the index of the namespace URI to be returned.
      Returns:
      the namespace URI at the specified index.
      Throws:
      IndexOutOfBoundsException - if aIndex < 0 || aIndex >= getImportedNamespaceURICount
    • getImportedNamespaceURICount

      public int getImportedNamespaceURICount()
      Deprecated.
      Returns the number of namespaces that is imported by this schema.
      Returns:
      the number of namespaces that is imported by this schema.
    • addImportedNamespaceURI

      public void addImportedNamespaceURI(String aNamespaceURI)
      Deprecated.
      Adds the specified namespace URI to the list of imported namespace URI's for this schema.
      Parameters:
      aNamespaceURI - the namespace URI to be added.
    • getElement

      public TLcdXMLSchemaElement getElement(String aElementName)
      Deprecated.
      Returns the schema element with the given element name, or null if no child element is defined with that name.
      Parameters:
      aElementName - the name of the schema element to be returned.
      Returns:
      the schema element with the given element name, or null if no child element is defined with that name.
    • getElement

      public TLcdXMLSchemaElement getElement(int aIndex)
      Deprecated.
      Returns the element at the specified index.
      Parameters:
      aIndex - the index of the element to be returned.
      Returns:
      the element at the specified index.
      Throws:
      IndexOutOfBoundsException - if aIndex < 0 || aIndex >= getElementCount()
    • getElementCount

      public int getElementCount()
      Deprecated.
      Returns the number of elements contained in this schema.
      Returns:
      the number of elements contained in this schema.
    • addElement

      public void addElement(TLcdXMLSchemaElement aSchemaElement)
      Deprecated.
      Adds the specified schema element to this schema.
      Parameters:
      aSchemaElement - the schema element to be added to this schema.
    • getAttribute

      public TLcdXMLSchemaAttribute getAttribute(String aAttributeName)
      Deprecated.
      Returns the schema attribute with the specified name, or null if no such attribute is defined in this schema.
      Parameters:
      aAttributeName - the name of the attribute to be returned.
      Returns:
      the attribute with the specified name, or null if no such attribute is defined in this schema.
    • getAttribute

      public TLcdXMLSchemaAttribute getAttribute(int aIndex)
      Deprecated.
      Returns the schema attribute, contained in this schema, at the specified index.
      Parameters:
      aIndex - the index of the schema attribute to be returned.
      Returns:
      the schema attribute, contained in this schema, at the specified index.
      Throws:
      IndexOutOfBoundsException - if aIndex < 0 || aIndex >= getAttributeCount
    • getAttributeCount

      public int getAttributeCount()
      Deprecated.
      Returns the number of attributes that is defined in this schema.
      Returns:
      the number of attributes that is defined in this schema.
    • addAttribute

      public void addAttribute(TLcdXMLSchemaAttribute aSchemaAttribute)
      Deprecated.
      Adds the given attribute to this schema.
      Parameters:
      aSchemaAttribute - the attribute to be added to this schema.
    • getType

      public TLcdXMLSchemaType getType(String aTypeName)
      Deprecated.
      Returns the schema type with the specified name, or null if no such type is defined in this schema.
      Parameters:
      aTypeName - the name of the type to be returned.
      Returns:
      the type with the specified name, or null if no such type is defined in this schema.
    • getType

      public TLcdXMLSchemaType getType(int aIndex)
      Deprecated.
      Returns the schema type, contained in this schema, at the specified type.
      Parameters:
      aIndex - the index of the schema type to be returned.
      Returns:
      the schema type, contained in this schema, at the specified index.
      Throws:
      IndexOutOfBoundsException - if aIndex < 0 || aIndex >= getTypeCount
    • getTypeCount

      public int getTypeCount()
      Deprecated.
      Returns the number of types that is defined in this schema.
      Returns:
      the number of types that is defined in this schema.
    • addType

      public void addType(TLcdXMLSchemaType aSchemaType)
      Deprecated.
      Adds the specified type to this schema.
      Parameters:
      aSchemaType - the type to be added to this schema.