info.magnolia.link
Class CompleteUrlPathTransformer

java.lang.Object
  extended by info.magnolia.link.AbsolutePathTransformer
      extended by info.magnolia.link.CompleteUrlPathTransformer
All Implemented Interfaces:
LinkTransformer

public class CompleteUrlPathTransformer
extends AbsolutePathTransformer

Constructs URLs by prefixing the path with Server.getDefaultBaseUrl().

Version:
$Id$
See Also:
ServerConfiguration

Constructor Summary
CompleteUrlPathTransformer(boolean useURI2RepositoryMapping, boolean useI18N)
           
 
Method Summary
protected  String prefixLink(String linkStr)
           
 
Methods inherited from class info.magnolia.link.AbsolutePathTransformer
getURI2RepositoryManager, getURISuffix, isAddContextPath, isUseI18N, isUseURI2RepositoryMapping, setAddContextPath, setUseI18N, setUseURI2RepositoryMapping, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompleteUrlPathTransformer

public CompleteUrlPathTransformer(boolean useURI2RepositoryMapping,
                                  boolean useI18N)
Method Detail

prefixLink

protected String prefixLink(String linkStr)
Overrides:
prefixLink in class AbsolutePathTransformer


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.