|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.catalog.search.ResourceIdentifier
public class ResourceIdentifier
Identifies resource and content types.
Constructor Summary | |
---|---|
ResourceIdentifier()
Default constructor. |
Method Summary | |
---|---|
String |
guessAgsMapServerSoapUrl(String serviceUrl)
Guesses the ArcGIS Server SOAP endpoint for a MapServer server. |
String |
guessAgsServiceRestUrl(String serviceUrl)
Guesses the ArcGIS Server rest endpoint for a service. |
String |
guessArcIMSContentTypeFromResourceType(String resourceType)
Guesses the ArcIMS content type based upon a supplied resource type. |
String |
guessArcIMSContentTypeFromResult(CswRecord cswRecord)
Guesses the ArcIMS content type based upon a resultant CSW record. |
String |
guessArcIMSContentTypeFromUrl(String url)
Guesses the ArcIMS content type based upon a given url. |
String |
guessServiceTypeFromUrl(String url)
Guesses a service type from a URL. |
static ResourceIdentifier |
newIdentifier(RequestContext context)
Instantiates a new resource identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceIdentifier()
Method Detail |
---|
public String guessAgsMapServerSoapUrl(String serviceUrl)
serviceUrl
- the service URL
public String guessAgsServiceRestUrl(String serviceUrl)
serviceUrl
- the service URL
public String guessArcIMSContentTypeFromResourceType(String resourceType)
resourceType
- the resource type
public String guessArcIMSContentTypeFromResult(CswRecord cswRecord)
cswRecord
- the CSW record resulting from a search
public String guessArcIMSContentTypeFromUrl(String url)
url
- the resource url
public String guessServiceTypeFromUrl(String url)
url
- the url
public static ResourceIdentifier newIdentifier(RequestContext context)
context
- the active request context
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |