Package | Description |
---|---|
org.xwiki.rendering.macro |
Modifier and Type | Method and Description |
---|---|
default Set<org.xwiki.rendering.listener.reference.ResourceReference> |
MacroRefactoring.extractReferences(org.xwiki.rendering.block.MacroBlock macroBlock)
Extract references used in the macro so that they can be used for example for creating backlinks.
|
Optional<org.xwiki.rendering.block.MacroBlock> |
MacroRefactoring.replaceReference(org.xwiki.rendering.block.MacroBlock macroBlock,
org.xwiki.model.reference.DocumentReference currentDocumentReference,
org.xwiki.model.reference.DocumentReference sourceReference,
org.xwiki.model.reference.DocumentReference targetReference,
boolean relative)
Replace the given source reference by the given entity reference in the macro block.
|
Copyright © 2004–2021 XWiki. All rights reserved.