|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.geosolutions.geoserver.rest.decoder.RESTNamespace
public class RESTNamespace
Parse namespaces returned as XML REST objects. This is the XML REST representation:
<namespace>
<prefix>topp</prefix>
<uri>http://www.openplans.org/topp</uri>
<featureTypes>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/workspaces/topp/featuretypes.xml" type="application/xml"/>
</featureTypes>
</namespace>
Field Summary | |
---|---|
static String |
FEATURE_TYPES
|
static String |
NAMESPACE
|
static String |
PREFIX
|
static String |
URI
|
Constructor Summary | |
---|---|
RESTNamespace(org.jdom.Element elem)
Create a RESTNamespace from a XML element. |
Method Summary | |
---|---|
static RESTNamespace |
build(String response)
Build a RESTNamespace from a REST response. |
String |
getPrefix()
Get the namespace prefix |
URI |
getURI()
Get the namespace URI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NAMESPACE
public static final String PREFIX
public static final String URI
public static final String FEATURE_TYPES
Constructor Detail |
---|
public RESTNamespace(org.jdom.Element elem)
elem
- The jdom XML Element describing a namespace.Method Detail |
---|
public static RESTNamespace build(String response)
response
- XML representation of the namespace.
public String getPrefix()
public URI getURI()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |