@XmlElement(value="SemanticTypeIdentifier") public final class SemanticType extends CodeList<SemanticType>
generic:point
generic:line
generic:polygon
generic:text
generic:raster
generic:any
| Modifier and Type | Field and Description |
|---|---|
static SemanticType |
ANY
Semantic identifies any geometry.
|
static SemanticType |
LINE
Semantic identifies a line geometry.
|
static SemanticType |
POINT
Semantic identifies a point geometry.
|
static SemanticType |
POLYGON
Semantic identifies a polygon geometry.
|
static SemanticType |
RASTER
Semantic identifies a raster geometry.
|
static SemanticType |
TEXT
Semantic identifies a text geometry.
|
| Constructor and Description |
|---|
SemanticType(String name)
Constructs an enum with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
SemanticType[] |
family()
Returns the list of enumerations of the same kind than this enum.
|
static SemanticType |
valueOf(String code)
Returns the semantic type that matches the given string, or returns a new one if none match
it.
|
static SemanticType[] |
values()
Returns the list of
SemanticTypes. |
@XmlElement(value="generic:point") public static final SemanticType POINT
@XmlElement(value="generic:line") public static final SemanticType LINE
@XmlElement(value="generic:polygon") public static final SemanticType POLYGON
@XmlElement(value="generic:text") public static final SemanticType TEXT
@XmlElement(value="generic:raster") public static final SemanticType RASTER
@XmlElement(value="generic:any") public static final SemanticType ANY
public static SemanticType[] values()
SemanticTypes.public SemanticType[] family()
family in class CodeList<SemanticType>public static SemanticType valueOf(String code)
code - The name of the code to fetch or to create.Copyright © 1996–2021 Geotools. All rights reserved.