info.magnolia.cms.link
Class AbsolutePathTransformer

java.lang.Object
  extended by info.magnolia.cms.link.AbsolutePathTransformer
Direct Known Subclasses:
RelativePathTransformer

Deprecated. since 4.0 use AbsolutePathTransformer instead

@Deprecated
public class AbsolutePathTransformer
extends Object

Deprecated.

Version:
$Id: AbsolutePathTransformer.java 41137 2011-01-06 18:19:25Z gjoseph $

Constructor Summary
AbsolutePathTransformer(boolean addContextPath, boolean useURI2RepositoryMapping, boolean useI18N)
          Deprecated. Creates new transformer.
 
Method Summary
protected  URI2RepositoryManager getURI2RepositoryManager()
          Deprecated.  
 String getURISuffix(UUIDLink uuidLink)
          Deprecated. Returns the URI after the path.
 boolean isAddContextPath()
          Deprecated.  
 boolean isUseI18N()
          Deprecated.  
 boolean isUseURI2RepositoryMapping()
          Deprecated.  
protected  String prefixLink(String linkStr)
          Deprecated.  
 void setAddContextPath(boolean addContextPath)
          Deprecated.  
 void setUseI18N(boolean useI18N)
          Deprecated.  
 void setUseURI2RepositoryMapping(boolean useURI2RepositoryMapping)
          Deprecated.  
 String transform(UUIDLink uuidLink)
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbsolutePathTransformer

public AbsolutePathTransformer(boolean addContextPath,
                               boolean useURI2RepositoryMapping,
                               boolean useI18N)
Deprecated. 
Creates new transformer.

Parameters:
addContextPath - Flag to specify whether or not to prepend context path to created links.
useURI2RepositoryMapping - Flag specifying whether or not to apply any URI2Repository mapping.
useI18N - Flag specifying whether or not to translate link path based on current locale value.
Method Detail

transform

public String transform(UUIDLink uuidLink)
Deprecated. 


getURI2RepositoryManager

protected URI2RepositoryManager getURI2RepositoryManager()
Deprecated. 

prefixLink

protected String prefixLink(String linkStr)
Deprecated. 

getURISuffix

public String getURISuffix(UUIDLink uuidLink)
Deprecated. 
Returns the URI after the path.


isAddContextPath

public boolean isAddContextPath()
Deprecated. 

setAddContextPath

public void setAddContextPath(boolean addContextPath)
Deprecated. 

isUseI18N

public boolean isUseI18N()
Deprecated. 

setUseI18N

public void setUseI18N(boolean useI18N)
Deprecated. 

isUseURI2RepositoryMapping

public boolean isUseURI2RepositoryMapping()
Deprecated. 

setUseURI2RepositoryMapping

public void setUseURI2RepositoryMapping(boolean useURI2RepositoryMapping)
Deprecated. 


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