info.magnolia.cms.link
Interface LinkResolver

All Known Implementing Classes:
LinkResolverImpl

Deprecated. since 4.0 use LinkHelper instead

public interface LinkResolver

Deprecated. Used to transform links

The internal links are for example used in the fck editor.
website:/home.html

The uuid pattern stores all the needed information like repository, uuid, path, filename (for binaries), ...

The absolute links are the links used for the request including all transformations like adding context, i18n content support, repository to uri mapping, ...


Nested Class Summary
static class LinkResolver.Factory
          Deprecated. since 4.0
 
Method Summary
 java.lang.String convertToAbsoluteLinks(java.lang.String str, boolean addContextPath)
          Deprecated.  
 java.lang.String convertToBrowserLinks(java.lang.String str, java.lang.String currentPath)
          Deprecated. This method is used to create the public links.
 java.lang.String convertToEditorLinks(java.lang.String str)
          Deprecated.  
 java.lang.String convertToExternalLinks(java.lang.String str)
          Deprecated. Used to render links usable from external (like sending an email, etc.).
 java.lang.String convertToRelativeLinks(java.lang.String str, java.lang.String currentPath)
          Deprecated.  
 java.lang.String parseLinks(java.lang.String str)
          Deprecated. Parses the internal links (used mainly by the fckeditor) and creates the uuid pattern instead.
 

Method Detail

convertToRelativeLinks

java.lang.String convertToRelativeLinks(java.lang.String str,
                                        java.lang.String currentPath)
Deprecated. 

convertToEditorLinks

java.lang.String convertToEditorLinks(java.lang.String str)
Deprecated. 

convertToBrowserLinks

java.lang.String convertToBrowserLinks(java.lang.String str,
                                       java.lang.String currentPath)
Deprecated. 
This method is used to create the public links. So it is used by the cms:out tag for example.


convertToAbsoluteLinks

java.lang.String convertToAbsoluteLinks(java.lang.String str,
                                        boolean addContextPath)
Deprecated. 

convertToExternalLinks

java.lang.String convertToExternalLinks(java.lang.String str)
Deprecated. 
Used to render links usable from external (like sending an email, etc.).


parseLinks

java.lang.String parseLinks(java.lang.String str)
Deprecated. 
Parses the internal links (used mainly by the fckeditor) and creates the uuid pattern instead.



Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.