@OpenApiAll
public class ElementReferencingInTexts
extends java.lang.Object
Constructor and Description |
---|
ElementReferencingInTexts() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createReferencingText(BaseElement referencedElement,
java.lang.String text)
Creates text referencing an element using default settings(
DisplayMode.CUSTOM_TEXT , UpdateMode.AUTOMATIC_UPDATE ) |
static java.lang.String |
createReferencingText(BaseElement referencedElement,
java.lang.String text,
DisplayMode displayMode)
Creates text referencing an element using provided display mode and
UpdateMode.AUTOMATIC_UPDATE mode |
static java.lang.String |
createReferencingText(BaseElement referencedElement,
java.lang.String text,
DisplayMode display,
UpdateMode update)
Creates text referencing an element using provided display mode and update mode
|
static java.util.Collection<Element> |
getReferredElements(Element referringElement) |
public static java.lang.String createReferencingText(BaseElement referencedElement, java.lang.String text)
DisplayMode.CUSTOM_TEXT
, UpdateMode.AUTOMATIC_UPDATE
)referencedElement
- element referenced in texttext
- text to displaypublic static java.lang.String createReferencingText(BaseElement referencedElement, java.lang.String text, DisplayMode displayMode)
UpdateMode.AUTOMATIC_UPDATE
modereferencedElement
- element referenced by texttext
- text to display(only affective if display mode is DisplayMode.CUSTOM_TEXT
)displayMode
- the reference display mode. Must not be null.public static java.lang.String createReferencingText(BaseElement referencedElement, java.lang.String text, DisplayMode display, UpdateMode update)
referencedElement
- element referenced by texttext
- text to displaydisplay
- the reference display mode. Must not be null.update
- the reference update mode. Must not be null.