|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.relations.CmsLinkUpdateUtil
public final class CmsLinkUpdateUtil
An utility class for updating the link xml node.
Method Summary | |
---|---|
static void |
updateType(org.dom4j.Element element,
CmsRelationType type)
Updates the type for a link xml element node. |
static void |
updateXml(CmsLink link,
org.dom4j.Element element,
boolean updateOnly)
Updates the link node in the underlying XML page document. |
static void |
updateXmlForHtmlValue(CmsLink link,
java.lang.String name,
org.dom4j.Element element)
Updates the given xml element with this link information. |
static void |
updateXmlForVfsFile(CmsLink link,
org.dom4j.Element element)
Updates the given xml element with this link information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void updateType(org.dom4j.Element element, CmsRelationType type)
element
- the link element node to updatetype
- the relation type to setpublic static void updateXml(CmsLink link, org.dom4j.Element element, boolean updateOnly)
link
- the link to updateelement
- the <link> element to updateupdateOnly
- if set and the element has no CmsLink.NODE_TARGET
subelement, so no action if executed at allpublic static void updateXmlForHtmlValue(CmsLink link, java.lang.String name, org.dom4j.Element element)
link
- the link to get the information fromname
- the (optional) name of the linkelement
- the <link> element to updatepublic static void updateXmlForVfsFile(CmsLink link, org.dom4j.Element element)
link
- the link to get the information fromelement
- the <link> element to update
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |