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
.public interface ILcdGML3CodeOrNullList
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)Modifier and Type | Method and Description |
---|---|
String |
getCode(int aIndex)
Deprecated.
Returns the code at the given index, or
null if there is a Null value at the given
index. |
int |
getCodeCount()
Deprecated.
Returns the number of codes contained in this codelist.
|
String |
getCodeSpace()
Deprecated.
Returns the codespace that applies to the codes in this codelist.
|
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. |
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.
|
String getCode(int aIndex)
null
if there is a Null value at the given
index.aIndex
- the index of the code to be returned.IndexOutOfBoundsException
- if aIndex <; 0 || aIndex >= getCodeCount()
int getCodeCount()
String getCodeSpace()
String getNull(int aIndex)
null
if no Null value is available
for the given index.aIndex
- the index of the Null value to be returned.IndexOutOfBoundsException
- if aIndex <; 0 || aIndex >= getCodeCount()
void setCodes(String[] aCodes)
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.aCodes
- the codes to be contained in this codelist.void setNulls(String[] aNulls)
aNulls
- the Null values to be contained in this codelist.setCodes(String[])
void setCodeSpace(String aCodeSpace)
aCodeSpace
- the codespace that applies to the codes in this codelist.