info.magnolia.link
Interface LinkTransformer
- All Known Subinterfaces:
- PathToLinkTransformer
- All Known Implementing Classes:
- AbsolutePathTransformer, CompleteUrlPathTransformer, CompleteUrlPathTransformer, EditorLinkTransformer, EditorLinkTransformer, RelativePathTransformer
public interface LinkTransformer
Implementing classes declare the intent of translating Magnolia UUID links to
desired output like absolute, relative or other special kinds of links.
- Author:
- had
transform
String transform(Link link)
- Transforms Link into desired output.
- Parameters:
link
- Link to repository content be transformed.
- Returns:
- Transformed link.
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.