com.atlassian.confluence.servlet.simpledisplay
Class ConvertedPath

java.lang.Object
  extended by com.atlassian.confluence.servlet.simpledisplay.ConvertedPath

public class ConvertedPath
extends Object

Encapsulates the result of a path conversion.

The final path is evaluted by interpretting the url field as velocity snippet. This template is merged with the parameters and the resulting string is the actual URL.


Constructor Summary
ConvertedPath(String url)
           
ConvertedPath(String url, VelocityEngineResolver resolver)
           
 
Method Summary
 void addParameter(String name, String value)
           
 Map getParameters()
           
 String getPath()
           
 String getUrl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertedPath

public ConvertedPath(String url,
                     VelocityEngineResolver resolver)

ConvertedPath

public ConvertedPath(String url)
Method Detail

addParameter

public void addParameter(String name,
                         String value)

getUrl

public String getUrl()

getPath

public String getPath()

getParameters

public Map getParameters()


Copyright © 2003-2011 Atlassian. All Rights Reserved.