com.ocpsoft.pretty.beans
Class MappingUrlBuilder

java.lang.Object
  extended by com.ocpsoft.pretty.beans.MappingUrlBuilder

public class MappingUrlBuilder
extends java.lang.Object

Author:
lb3

Constructor Summary
MappingUrlBuilder()
           
 
Method Summary
 java.lang.String getURL(PrettyUrlMapping mapping)
          For all required values of the given PrettyUrlMapping, extract values from their mapped backing beans and create a URL based on the url-pattern and any mapped query-parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingUrlBuilder

public MappingUrlBuilder()
Method Detail

getURL

public java.lang.String getURL(PrettyUrlMapping mapping)
For all required values of the given PrettyUrlMapping, extract values from their mapped backing beans and create a URL based on the url-pattern and any mapped query-parameters.

Parameters:
mapping - Mapping for which to extract values and generate URL
Returns:
The fully constructed URL


Copyright © 2009. All Rights Reserved.