public abstract class GcLinksResource extends GcXmlWebResource
| Modifier and Type | Field and Description |
|---|---|
static GcLinkFilter |
DEFAULT_LINKS_FILTER |
| Modifier | Constructor and Description |
|---|---|
protected |
GcLinksResource(GpelClient client,
String title,
org.xmlpull.infoset.XmlElement contentEl,
GcLinkFilter filter,
String mimeType) |
|
GcLinksResource(org.xmlpull.infoset.XmlElement atomRes) |
| Modifier and Type | Method and Description |
|---|---|
GpelClient |
getClient() |
GcLinkFilter |
getFilter() |
List<GcWebResource> |
getLinks() |
GcWebResource |
getLinkWithId(URI id) |
GcWebResource |
getLinkWithRel(String rel) |
GcWebResource |
getLinkWithTitleAndRel(String title,
String rel) |
void |
loadResourcesFromLinks() |
protected GcWebResource |
loadXmlResourceLink(String href,
String rel) |
void |
replaceLinkWithRel(GcWebResource res) |
protected void |
saveLinkedResources() |
void |
setClient(GpelClient client) |
void |
setFilter(GcLinkFilter filter) |
void |
setLinks(GcWebResource[] linkArr) |
void |
setLinks(List<GcWebResource> links) |
getXmlContent, setMimeType, setXmlContentgetContentEl, getId, getLocation, getMimeType, getRel, getTitle, getTitle, setLocation, setRel, setTitle, xmlSet, xmlTypeName, xmlTypeNscheckNamespaceAndName, xml, xmlCuteElName, xmlGetAttributeNcNameValue, xmlGetAttributeQNameValue, xmlRequireAttributeNcNameValue, xmlRequireAttributeQNameValue, xmlSetAttributeNcNameValue, xmlSetAttributeQNameValue, xmlSetRequiredAttributeNcNameValue, xmlSetRequiredAttributeQNameValue, xmlValidate, xmlViewAsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getLocation, getMimeType, getRel, getTitle, setLocation, setRel, setTitlepublic static final GcLinkFilter DEFAULT_LINKS_FILTER
protected GcLinksResource(GpelClient client, String title, org.xmlpull.infoset.XmlElement contentEl, GcLinkFilter filter, String mimeType) throws GcException
GcExceptionpublic GcLinksResource(org.xmlpull.infoset.XmlElement atomRes)
public void setFilter(GcLinkFilter filter)
public GcLinkFilter getFilter()
public void setClient(GpelClient client)
public GpelClient getClient()
public List<GcWebResource> getLinks()
public GcWebResource getLinkWithId(URI id)
public GcWebResource getLinkWithRel(String rel)
public GcWebResource getLinkWithTitleAndRel(String title, String rel)
public void setLinks(List<GcWebResource> links)
public void setLinks(GcWebResource[] linkArr)
public void replaceLinkWithRel(GcWebResource res)
protected void saveLinkedResources()
throws GcException
GcExceptionpublic void loadResourcesFromLinks()
throws GcException
GcExceptionprotected GcWebResource loadXmlResourceLink(String href, String rel) throws GcException
GcExceptionCopyright © 2013. All Rights Reserved.