org.apache.cocoon.components.language.markup.xsp
Class XSPSessionFwHelper

java.lang.Object
  extended byorg.apache.cocoon.components.language.markup.xsp.XSPSessionFwHelper

public class XSPSessionFwHelper
extends Object

The Session-fw object helper

Since:
2.1.1
Version:
CVS $Id: XSPSessionFwHelper.java 153383 2005-02-11 11:34:49Z cziegeler $
Author:
Antonio Gallardo

Constructor Summary
XSPSessionFwHelper()
           
 
Method Summary
static DocumentFragment getXML(ServiceManager cm, String context, String path)
          GetXML Fragment from the given session context and path
static String getXMLAsString(ServiceManager cm, String context, String path)
          GetXML Fragment from the given session context and path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSPSessionFwHelper

public XSPSessionFwHelper()
Method Detail

getXML

public static DocumentFragment getXML(ServiceManager cm,
                                      String context,
                                      String path)
                               throws ProcessingException
GetXML Fragment from the given session context and path

Parameters:
cm - The ServiceManager
context - The Session context tha define where to search
path - The parameter path
Throws:
ProcessingException

getXMLAsString

public static String getXMLAsString(ServiceManager cm,
                                    String context,
                                    String path)
                             throws ProcessingException
GetXML Fragment from the given session context and path

Parameters:
cm - The ServiceManager
context - The Session context tha define where to search
path - The parameter path
Throws:
ProcessingException


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.