|
||||||||
| 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(Element element,
CmsRelationType type)
Updates the type for a link xml element node. |
static void |
updateXml(CmsLink link,
Element element,
boolean updateOnly)
Updates the link node in the underlying XML page document. |
static void |
updateXmlForHtmlValue(CmsLink link,
String name,
Element element)
Updates the given xml element with this link information. |
static void |
updateXmlForVfsFile(CmsLink link,
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(Element element,
CmsRelationType type)
element - the link element node to updatetype - the relation type to set
public static void updateXml(CmsLink link,
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 all
public static void updateXmlForHtmlValue(CmsLink link,
String name,
Element element)
link - the link to get the information fromname - the (optional) name of the linkelement - the <link> element to update
public static void updateXmlForVfsFile(CmsLink link,
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 | |||||||