|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<SrsSyntax>
SrsSyntax
public enum SrsSyntax
Enumeration describing the syntax to use for an srsName URI.
Enum Constant Summary | |
---|---|
EPSG_CODE
Commonly used syntax outside of gml that follows the form: EPSG:1234. |
|
OGC_HTTP_URI
Newest form from OGC using a url syntax of the form: "http://www.opengis.net/def/crs/EPSG/0/1234. |
|
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
Revised form of urn syntax used by GML 3 that follows the form: urn:ogc:def:crs:EPSG::1234. |
|
OGC_URN_EXPERIMENTAL
First form of urn syntax used by GML 3 that follows the form: urn:x-ogc:def:crs:EPSG:1234. |
Method Summary | |
---|---|
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. |
Methods inherited from class Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SrsSyntax EPSG_CODE
EPSG:1234.
public static final SrsSyntax OGC_HTTP_URL
http://www.opengis.net/gml/srs/epsg.xml#1234.
public static final SrsSyntax OGC_URN_EXPERIMENTAL
urn:x-ogc:def:crs:EPSG:1234.
public static final SrsSyntax OGC_URN
urn:ogc:def:crs:EPSG::1234.
public static final SrsSyntax OGC_HTTP_URI
"http://www.opengis.net/def/crs/EPSG/0/1234.
Method Detail |
---|
public static SrsSyntax[] values()
for (SrsSyntax c : SrsSyntax.values()) System.out.println(c);
public static SrsSyntax valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getPrefix()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |