|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> java.util.AbstractList<E> java.util.ArrayList<ResourceLink> com.esri.gpt.catalog.search.ResourceLinks
public class ResourceLinks
Represents a collection of bind-able links associated with a document or resource.
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
ResourceLinks()
Default constructor. |
Method Summary | |
---|---|
boolean |
add(ResourceLink link)
Adds a link to the collection. |
void |
echo(StringBuffer sb)
Appends property information for the component to a buffer. |
ResourceLink |
findByTag(String tag)
Finds a resource link associated with a tag. |
String |
findUrlByTag(String tag)
Finds resource link url associated with a tag. |
ResourceLink |
getIcon()
Gets the link to the classification icon. |
ResourceLink |
getThumbnail()
Gets the link to the thumbnail. |
Map<String,String> |
getUrlsByTag()
Returns a Map interface configured to return a resource link URL based upon a supplied tag (as key). |
void |
setIcon(ResourceLink link)
Sets the link to the classification icon. |
void |
setThumbnail(ResourceLink link)
Sets the link to the thumbnail. |
String |
toString()
Returns the string representation of the object. |
Methods inherited from class java.util.ArrayList |
---|
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public ResourceLinks()
Method Detail |
---|
public ResourceLink getIcon()
public void setIcon(ResourceLink link)
link
- the classification icon iconpublic ResourceLink getThumbnail()
public void setThumbnail(ResourceLink link)
link
- the thumbnail linkpublic Map<String,String> getUrlsByTag()
public boolean add(ResourceLink link)
add
in interface Collection<ResourceLink>
add
in interface List<ResourceLink>
add
in class ArrayList<ResourceLink>
link
- the link to add (null links will not be added)
public ResourceLink findByTag(String tag)
tag
- the resource link tag
public String findUrlByTag(String tag)
tag
- the resource link tag
public void echo(StringBuffer sb)
sb
- the buffer to use when appending informationpublic String toString()
toString
in class AbstractCollection<ResourceLink>
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |