info.magnolia.link
Class CompleteUrlPathTransformer

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

public class CompleteUrlPathTransformer
extends AbsolutePathTransformer

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

Version:
$Id:$
Author:
had
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-2012 Magnolia International Ltd.. All Rights Reserved.