org.japano.pagenode.jstl.core
Class Redirect

java.lang.Object
  extended by org.japano.PageNode
      extended by org.japano.pagenode.jstl.core.Redirect

public class Redirect
extends PageNode

Redirect implementation.

Version:
$Id: Redirect.java,v 1.3 2005/09/27 21:30:51 fforw Exp $ SourceForge.net Logo
Author:
Sven Helmberger ( sven dot helmberger at gmx dot de )

Nested Class Summary
 
Nested classes/interfaces inherited from class org.japano.PageNode
PageNode.Output
 
Field Summary
 
Fields inherited from class org.japano.PageNode
children, context, EMPTY, nodeId, parent
 
Constructor Summary
Redirect()
           
 
Method Summary
 void generate(Buffer out)
          Generates this node The base implementation just calls PageNode.generateChildren(Buffer)
 void setContext(java.lang.String contextURI)
          Name of the context when redirecting to a relative URL resource that belongs to a foreign context.
 void setUrl(java.lang.String url)
          The URL of the resource to redirect to.
 
Methods inherited from class org.japano.PageNode
findChildren, findParent, findRootNode, generateChildren, getChildren, getContext, getNodeId, getParent, init, recInit, release, setChildren, setContext, setNodeId, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Redirect

public Redirect()
Method Detail

setContext

public void setContext(java.lang.String contextURI)
Name of the context when redirecting to a relative URL resource that belongs to a foreign context.


setUrl

public void setUrl(java.lang.String url)
The URL of the resource to redirect to.


generate

public void generate(Buffer out)
Description copied from class: PageNode
Generates this node The base implementation just calls PageNode.generateChildren(Buffer)

Overrides:
generate in class PageNode