org.apache.beehive.netui.core.urls
Class URIContext

Object
  extended by URIContext

public class URIContext
extends Object

A JavaBean that encapsulates the data needed to write out a string form of a MutableURI.


Constructor Summary
URIContext()
          Constructs a URIContext.
 
Method Summary
 void setUseAmpEntity(boolean useAmpEntity)
          Set the flag indicating that the query of the URI should be written with the "&" entity, rather than the '&' character, to separate parameters.
 boolean useAmpEntity()
          Indicate that the query of the URI should be written using the "&" entity, rather than the '&' character, to separate parameters.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URIContext

public URIContext()
Constructs a URIContext.

Method Detail

useAmpEntity

public boolean useAmpEntity()
Indicate that the query of the URI should be written using the "&" entity, rather than the '&' character, to separate parameters.

Returns:
true if a URI should have the "&" entity separating query parameters. Otherwise, false indicates that it is OK to use the '&' character.

setUseAmpEntity

public void setUseAmpEntity(boolean useAmpEntity)
Set the flag indicating that the query of the URI should be written with the "&" entity, rather than the '&' character, to separate parameters.

Parameters:
useAmpEntity - defines whether or not to use the "&" entity