LinkServices 2.0.0
LinkServices
Services available for links
String.asBookmark(String) : org.obeonetwork.m2doc.element.MBookmark
Converts a String to a bookmark declaration
Example
| Expression | Result | 
|---|---|
| ‘Definition of Artifact1’.asBookmark(‘Art1’) | a bookmark with the ID ‘Art1’ the label ‘Definition of Artifact1’ | 
String.asBookmarkRef(String) : org.obeonetwork.m2doc.element.MBookmark
Converts a String to a bookmark reference
Example
| Expression | Result | 
|---|---|
| ‘Artifact1’.asBookmarkRef(‘Art1’) | a bookmark reference with the ID ‘Art1’ the label ‘Definition of Artifact1’ | 
String.asLink(String) : org.obeonetwork.m2doc.element.MHyperLink
Converts a String to an hyperlink
Example
| Expression | Result | 
|---|---|
| ‘My website’.asLink(‘https://www.example.org’) | a link to https://www.example.org with the label My website |