Interface ILcdGML3CodeOrNullList


public interface ILcdGML3CodeOrNullList
Deprecated.
This class has been deprecated. The GML decoders and encoders in the com.luciad.format.gml3.* packages are replaced by new decoders and encoders in the packages com.luciad.format.gml2.xml, com.luciad.format.gml31.xml and com.luciad.format.gml32.xml.
Interface for the gml:CodeOrNullListType type.

List of values on a uniform nominal scale. List of text tokens. In a list context a token should not include any spaces, so xsd:Name is used instead of xsd:string.

A member of the list may be a typed null (see 7.3.2.1 for more information on the gml:NullType).

If a codeSpace attribute is present, then its value is a reference to a Reference System for the value, a dictionary or code list.

(GML Specification, v3.1.0, paragraph 7.3.4.2)

  • Method Summary

    Modifier and Type
    Method
    Description
    getCode(int aIndex)
    Deprecated.
    Returns the code at the given index, or null if there is a Null value at the given index.
    int
    Deprecated.
    Returns the number of codes contained in this codelist.
    Deprecated.
    Returns the codespace that applies to the codes in this codelist.
    getNull(int aIndex)
    Deprecated.
    Returns the Null value at the given index, or null if no Null value is available for the given index.
    void
    setCodes(String[] aCodes)
    Deprecated.
    Sets the codes to be contained in this codelist.
    void
    setCodeSpace(String aCodeSpace)
    Deprecated.
    Sets the codespace that applies to the codes in this codelist.
    void
    setNulls(String[] aNulls)
    Deprecated.
    Sets the Null values to be contained in this codelist.
  • Method Details

    • getCode

      String getCode(int aIndex)
      Deprecated.
      Returns the code at the given index, or null if there is a Null value at the given index.
      Parameters:
      aIndex - the index of the code to be returned.
      Returns:
      the code at the given index.
      Throws:
      IndexOutOfBoundsException - if aIndex <; 0 || aIndex >= getCodeCount()
    • getCodeCount

      int getCodeCount()
      Deprecated.
      Returns the number of codes contained in this codelist.
      Returns:
      the number of codes contained in this codelist.
    • getCodeSpace

      String getCodeSpace()
      Deprecated.
      Returns the codespace that applies to the codes in this codelist.
      Returns:
      the codespace that applies to the codes in this codelist.
    • getNull

      String getNull(int aIndex)
      Deprecated.
      Returns the Null value at the given index, or null if no Null value is available for the given index.
      Parameters:
      aIndex - the index of the Null value to be returned.
      Returns:
      the Null value at the given index.
      Throws:
      IndexOutOfBoundsException - if aIndex <; 0 || aIndex >= getCodeCount()
    • setCodes

      void setCodes(String[] aCodes)
      Deprecated.
      Sets the codes to be contained in this codelist. The code array and Null array should be complementary, i.e., for indices for which a code is available, the Null array should contain a null value, and, for indices or which no code is available, the Null array should contain a valid String, containing a value from the gml:NullEnumeration enumeration or a URI.
      Parameters:
      aCodes - the codes to be contained in this codelist.
    • setNulls

      void setNulls(String[] aNulls)
      Deprecated.
      Sets the Null values to be contained in this codelist.
      Parameters:
      aNulls - the Null values to be contained in this codelist.
      See Also:
    • setCodeSpace

      void setCodeSpace(String aCodeSpace)
      Deprecated.
      Sets the codespace that applies to the codes in this codelist.
      Parameters:
      aCodeSpace - the codespace that applies to the codes in this codelist.