|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.control.georss.FeedLinkBuilder
public class FeedLinkBuilder
Feed link builder.
Constructor Summary | |
---|---|
FeedLinkBuilder(RequestContext context,
String baseContextPath,
MessageBroker messageBroker)
Creates instance of the link builder. |
Method Summary | |
---|---|
void |
build(IFeedRecord record)
Buids links and resources. |
protected void |
buildAddToMapLink(IFeedRecord record)
Builds 'Add To Map' link. |
protected void |
buildAGSLinks(IFeedRecord record)
Builds ArcGIS links. |
protected void |
buildContentTypeResource(IFeedRecord record)
Builds 'Content Type' resource link. |
protected void |
buildDetailsLink(IFeedRecord record)
Builds 'Details' link. |
protected void |
buildMetadataLink(IFeedRecord record)
Builds 'Metadata' link. |
protected void |
buildOpenLink(IFeedRecord record)
Builds 'Open' link. |
protected void |
buildPreviewLink(IFeedRecord record)
Builds 'Preview' link. |
protected void |
buildThumbnailResource(IFeedRecord record)
Builds 'Thumbnail' resource link. |
protected String |
encodeUrlParam(String value)
Encodes URL parameter. |
protected String |
getMapViewerUrl()
Gets map viewer URL. |
protected String |
makeLabel(String resourceKey)
Makes label. |
protected ResourceLink |
makeLink(String url,
String tag,
String resourceKey)
Makes a resource link. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FeedLinkBuilder(RequestContext context, String baseContextPath, MessageBroker messageBroker)
context
- request contextbaseContextPath
- base context pathmessageBroker
- message brokerMethod Detail |
---|
protected String getMapViewerUrl()
public void build(IFeedRecord record)
record
- recordprotected void buildAGSLinks(IFeedRecord record)
record
- recordprotected void buildAddToMapLink(IFeedRecord record)
record
- recordprotected void buildMetadataLink(IFeedRecord record)
record
- recordprotected void buildDetailsLink(IFeedRecord record)
record
- recordprotected void buildPreviewLink(IFeedRecord record)
record
- recordprotected void buildOpenLink(IFeedRecord record)
record
- recordprotected void buildContentTypeResource(IFeedRecord record)
record
- recordprotected void buildThumbnailResource(IFeedRecord record)
record
- recordprotected ResourceLink makeLink(String url, String tag, String resourceKey)
url
- URLtag
- tagresourceKey
- resource key for the label
protected String makeLabel(String resourceKey)
resourceKey
- resource key for the label
protected String encodeUrlParam(String value)
value
- parameter to encode
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |