This project has retired. For details please refer to its
Attic page .
XSPModuleHelper (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.components.language.markup.xsp
Class XSPModuleHelper
java.lang.Object
org.apache.cocoon.components.modules.input.InputModuleHelper
org.apache.cocoon.components.language.markup.xsp.XSPModuleHelper
public class XSPModuleHelper extends InputModuleHelper
Helper class that caches references to InputModules for use in
XSPs. Works in conjunction with the input.xsl
logicsheet. References are obtained the first time a module is
accessed and kept until the page is completely displayed.
Version:
CVS $Id: XSPModuleHelper.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Christian Haul
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
XSPModuleHelper
public XSPModuleHelper ()
getAttributeValues
public void getAttributeValues (Map objectModel,
ContentHandler contentHandler,
String module,
String name)
throws SAXException ,
RuntimeException
Output the request attribute values for a given name to the
content handler.
Parameters: objectModel
- The Map objectModelcontentHandler
- The SAX content handlermodule
- a String
value holding the module namename
- a String
value holding the attribute name
Throws:
SAXException
- If a SAX error occurs
RuntimeException
- if an error occurs
getAttributeNames
public void getAttributeNames (Map objectModel,
ContentHandler contentHandler,
String module)
throws SAXException ,
RuntimeException
Output attribute names for a given request
Parameters: objectModel
- The Map objectModelcontentHandler
- The SAX content handlermodule
- the module's name
Throws:
SAXException
- If a SAX error occurs
RuntimeException
- if an error occurs
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.