|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.staticexport.CmsLinkTable
public class CmsLinkTable
Maintains a table of links for an element of a CmsXmlPage.
| Constructor Summary | |
|---|---|
CmsLinkTable()
Creates a new CmsLinkTable. |
|
| Method Summary | |
|---|---|
CmsLink |
addLink(CmsLink link)
Adds a new link with a given internal name and internal flag to the link table. |
CmsLink |
addLink(CmsRelationType type,
String targetUri,
boolean internal)
Adds a new link to the link table. |
CmsLink |
getLink(String name)
Returns the CmsLink Entry for a given name. |
boolean |
isEmpty()
Returns if the link table is empty. |
Iterator<CmsLink> |
iterator()
Returns an iterator over the links in the table. |
int |
size()
Returns the size of this link table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsLinkTable()
| Method Detail |
|---|
public CmsLink addLink(CmsLink link)
link - the CmsLink to add
public CmsLink addLink(CmsRelationType type,
String targetUri,
boolean internal)
type - type of the linktargetUri - link destinationinternal - flag to indicate if the link is a local link
public CmsLink getLink(String name)
name - the internal name of the link
public boolean isEmpty()
public Iterator<CmsLink> iterator()
The objects iterated are of type .
CmsLink
public int size()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||