Package org.geotools.gml2
Enum SrsSyntax
- Object
-
- Enum<SrsSyntax>
-
- SrsSyntax
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EPSG_CODE
Commonly used syntax outside of gml that follows the form:OGC_HTTP_URI
Newest form from OGC using a url syntax of the form:OGC_HTTP_URL
First form of url syntax used by GML 2.1.2 that follows the form:OGC_URN
Revised form of urn syntax used by GML 3 that follows the form:OGC_URN_EXPERIMENTAL
First form of urn syntax used by GML 3 that follows the form:
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPrefix()
static SrsSyntax
valueOf(String name)
Returns the enum constant of this type with the specified name.static SrsSyntax[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EPSG_CODE
public static final SrsSyntax EPSG_CODE
Commonly used syntax outside of gml that follows the form:EPSG:1234
.
-
OGC_HTTP_URL
public static final SrsSyntax OGC_HTTP_URL
First form of url syntax used by GML 2.1.2 that follows the form:http://www.opengis.net/gml/srs/epsg.xml#1234
.
-
OGC_URN_EXPERIMENTAL
public static final SrsSyntax OGC_URN_EXPERIMENTAL
First form of urn syntax used by GML 3 that follows the form:urn:x-ogc:def:crs:EPSG:1234
.
-
OGC_URN
public static final SrsSyntax OGC_URN
Revised form of urn syntax used by GML 3 that follows the form:urn:ogc:def:crs:EPSG::1234
.
-
OGC_HTTP_URI
public static final SrsSyntax OGC_HTTP_URI
Newest form from OGC using a url syntax of the form:"http://www.opengis.net/def/crs/EPSG/0/1234
.
-
-
Method Detail
-
values
public static SrsSyntax[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SrsSyntax c : SrsSyntax.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SrsSyntax valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getPrefix
public String getPrefix()
-
-