org.jboss.seam.ui.util
Class UrlBuilder

java.lang.Object
  extended by org.jboss.seam.ui.util.UrlBuilder
Direct Known Subclasses:
ViewUrlBuilder

public class UrlBuilder
extends java.lang.Object


Constructor Summary
protected UrlBuilder(java.lang.String fragment, java.lang.String characterEncoding)
           
  UrlBuilder(java.lang.String fragment, java.lang.String characterEncoding, boolean urlEncodeParameters)
           
  UrlBuilder(java.lang.String url, java.lang.String fragment, java.lang.String characterEncoding)
           
  UrlBuilder(java.lang.String url, java.lang.String fragment, java.lang.String characterEncoding, boolean urlEncodeParameters)
           
 
Method Summary
 void addParameter(java.lang.String name, java.lang.String value)
           
 void addParameter(javax.faces.component.UIParameter parameter)
           
 java.lang.String getEncodedUrl()
           
protected  java.lang.String getFragment()
           
protected  java.util.Map<java.lang.String,java.lang.String> getParameters()
           
protected  java.lang.String getParametersAsString()
           
protected  void setUrl(java.lang.String url)
           
protected  java.lang.String urlEncode(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlBuilder

protected UrlBuilder(java.lang.String fragment,
                     java.lang.String characterEncoding)

UrlBuilder

public UrlBuilder(java.lang.String fragment,
                  java.lang.String characterEncoding,
                  boolean urlEncodeParameters)

UrlBuilder

public UrlBuilder(java.lang.String url,
                  java.lang.String fragment,
                  java.lang.String characterEncoding)

UrlBuilder

public UrlBuilder(java.lang.String url,
                  java.lang.String fragment,
                  java.lang.String characterEncoding,
                  boolean urlEncodeParameters)
Method Detail

setUrl

protected void setUrl(java.lang.String url)

urlEncode

protected java.lang.String urlEncode(java.lang.String value)
                              throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

getFragment

protected java.lang.String getFragment()

getEncodedUrl

public java.lang.String getEncodedUrl()

getParametersAsString

protected java.lang.String getParametersAsString()

getParameters

protected java.util.Map<java.lang.String,java.lang.String> getParameters()

addParameter

public void addParameter(java.lang.String name,
                         java.lang.String value)
                  throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

addParameter

public void addParameter(javax.faces.component.UIParameter parameter)
                  throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException


Copyright © 2008. All Rights Reserved.