Interface ILcdGML3CodeOrNullList
public interface ILcdGML3CodeOrNullList
Deprecated.
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 TypeMethodDescriptiongetCode
(int aIndex) Deprecated.Returns the code at the given index, ornull
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, ornull
if no Null value is available for the given index.void
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
Deprecated.Sets the Null values to be contained in this codelist.
-
Method Details
-
getCode
Deprecated.Returns the code at the given index, ornull
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
- ifaIndex <; 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
Deprecated.Returns the Null value at the given index, ornull
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
- ifaIndex <; 0 || aIndex >= getCodeCount()
-
setCodes
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 anull
value, and, for indices or which no code is available, the Null array should contain a valid String, containing a value from thegml:NullEnumeration
enumeration or a URI.- Parameters:
aCodes
- the codes to be contained in this codelist.
-
setNulls
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
Deprecated.Sets the codespace that applies to the codes in this codelist.- Parameters:
aCodeSpace
- the codespace that applies to the codes in this codelist.
-
com.luciad.format.gml3.*
packages are replaced by new decoders and encoders in the packagescom.luciad.format.gml2.xml
,com.luciad.format.gml31.xml
andcom.luciad.format.gml32.xml
.