Package | Description |
---|---|
info.magnolia.link |
Modifier and Type | Class and Description |
---|---|
class |
AbsolutePathTransformer
Creates links with the absolute path.
|
class |
CompleteUrlPathTransformer
Constructs URLs by prefixing the path with
ServerConfiguration.getDefaultBaseUrl() . |
class |
EditorLinkTransformer
Deprecated.
since 5.0 use
AbsolutePathTransformer directly or register custom editor link transformer. |
class |
I18nPathTransformer
Creates links with the absolute path and prefixes it with selected locale if this is supported,
falls back to current one otherwise.
|
class |
RelativePathTransformer
Transformer creating links relative to provided path.
|
Modifier and Type | Field and Description |
---|---|
protected LinkTransformer |
EditorLinkTransformer.binaryTransformer
Deprecated.
since 5.0 use
AbsolutePathTransformer(boolean, boolean, boolean) directly or register custom editor link transformer. |
protected LinkTransformer |
EditorLinkTransformer.linkTransformer
Deprecated.
since 5.0 use
AbsolutePathTransformer(boolean, boolean, boolean) directly or register custom editor link transformer. |
Modifier and Type | Method and Description |
---|---|
LinkTransformer |
LinkTransformerManager.getAbsoluteTransformer()
Gets registered absolute path transformer.
|
LinkTransformer |
LinkTransformerManager.getBrowserLink(String currentPath)
Creates instance of link transformer that will transform any provided links to either absolute or relative path based on the current server configuration.
|
LinkTransformer |
LinkTransformerManager.getCompleteURLTransformer()
Gets registered complete URL transformer.
|
LinkTransformer |
LinkTransformerManager.getEditorTransformer()
Gets registered editor link transformer.
|
LinkTransformer |
LinkTransformerManager.getI18nTransformer()
Gets registered complete URL transformer.
|
LinkTransformer |
LinkTransformerManager.getRelativeTransformer()
Gets registered relative path transformer.
|
Modifier and Type | Method and Description |
---|---|
Map<String,LinkTransformer> |
LinkTransformerManager.getTransformers() |
Modifier and Type | Method and Description |
---|---|
void |
LinkTransformerManager.addTransformer(String key,
LinkTransformer transformer) |
static String |
LinkUtil.convertLinksFromUUIDPattern(String str,
LinkTransformer transformer)
Converts provided html with links in UUID pattern format to any other kind of links based on provided link transformer.
|
Modifier and Type | Method and Description |
---|---|
void |
LinkTransformerManager.setTransformers(Map<String,LinkTransformer> transformers) |
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.