com.cc.framework.taglib.template
Class PageParameter

java.lang.Object
  extended bycom.cc.framework.taglib.template.PageParameter

public class PageParameter
extends java.lang.Object

Class PageParameter

Since:
1.0
Version:
$Revision: 1.13 $
Author:
Harald Schulz

Field Summary
private  java.lang.String content
          Field content
private  boolean direct
          Field Direct
private  java.lang.String localeName
          Locale Name
private  PageDef page
          The Page definition
 
Constructor Summary
PageParameter(java.lang.String content, java.lang.String localeName, boolean direct)
          Constructor
 
Method Summary
 java.lang.String getBase()
          Returns the base.
 java.lang.String getContent()
          Returns the Content
 java.util.Locale getLocale(javax.servlet.jsp.PageContext pageContext)
          Returns the locale to use
 java.lang.String getLocaleName()
          Returns the locale name
 PageDef getPage()
           
 java.lang.String getValue(javax.servlet.jsp.PageContext pageContext)
          Retrieves the value for the Page Parameter
 boolean isDirect()
          Method isDirect
 void setPage(PageDef page)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

page

private PageDef page
The Page definition


content

private java.lang.String content
Field content


localeName

private java.lang.String localeName
Locale Name


direct

private boolean direct
Field Direct

Constructor Detail

PageParameter

public PageParameter(java.lang.String content,
                     java.lang.String localeName,
                     boolean direct)
Constructor

Parameters:
content - Content
localeName - Name of the locale to use
direct - Direct Flag
Method Detail

getPage

public PageDef getPage()
Returns:
Returns the page.

setPage

public void setPage(PageDef page)
Parameters:
page - The page to set.

getContent

public java.lang.String getContent()
Returns the Content

Returns:
String

isDirect

public boolean isDirect()
Method isDirect

Returns:
boolean

getBase

public java.lang.String getBase()
Returns the base.

Returns:
String

getLocaleName

public java.lang.String getLocaleName()
Returns the locale name

Returns:
String

getLocale

public java.util.Locale getLocale(javax.servlet.jsp.PageContext pageContext)
Returns the locale to use

Parameters:
pageContext - Page Context
Returns:
Locale or null

getValue

public java.lang.String getValue(javax.servlet.jsp.PageContext pageContext)
Retrieves the value for the Page Parameter

Parameters:
pageContext - Page Context
Returns:
Value

toString

public java.lang.String toString()
See Also:
Object.toString()


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.