info.magnolia.link
Class EditorLinkTransformer
java.lang.Object
info.magnolia.link.EditorLinkTransformer
- All Implemented Interfaces:
- LinkTransformer
public class EditorLinkTransformer
- extends Object
- implements LinkTransformer
Modifies links to the format suitable for the Editor.
- Applies URI2Repository mappings to any passed link.
- Adds the context path only to the binaries.
- Doesn't do any i18n translation of the links
- Version:
- $Id: EditorLinkTransformer.java 21024 2009-01-06 20:58:05Z gjoseph $
- Author:
- had
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
binaryTransformer
@Deprecated
protected LinkTransformer binaryTransformer
- Deprecated.
linkTransformer
@Deprecated
protected LinkTransformer linkTransformer
- Deprecated.
EditorLinkTransformer
public EditorLinkTransformer()
transform
public String transform(Link uuidLink)
- Description copied from interface:
LinkTransformer
- Transforms Link into desired output.
- Specified by:
transform
in interface LinkTransformer
- Parameters:
uuidLink
- Link to repository content be transformed.
- Returns:
- Transformed link.
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.