This project has retired. For details please refer to its
Attic page .
URLEncodeModule (Cocoon Sitemap Components 1.0.0 API)
org.apache.cocoon.components.modules.input
Class URLEncodeModule
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.components.modules.input.AbstractInputModule
org.apache.cocoon.components.modules.input.URLEncodeModule
All Implemented Interfaces: Configurable , Disposable , org.apache.cocoon.components.modules.input.InputModule, ThreadSafe
public final class URLEncodeModule extends org.apache.cocoon.components.modules.input.AbstractInputModuleimplements ThreadSafe
This module provides functionality for converting a String to the
application/x-www-form-urlencoded MIME format. It is useful for example for
calling remote services:
<map:generate src="http://remote/page?param1={url-encode:{request-param:param1}}"/>
Module configuration takes only one configuration parameter:
"encoding" which is a target string encoding. This is utf-8 by default.
Version:
$Id: URLEncodeModule.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Fields inherited from class org.apache.cocoon.components.modules.input.AbstractInputModule
settings
Fields inherited from interface org.apache.cocoon.components.modules.input.InputModule
ROLE
Methods inherited from class org.apache.cocoon.components.modules.input.AbstractInputModule
configure, dispose, getAttributeNames, getAttributeValues
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled
getLogger, setLogger
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
URLEncodeModule
public URLEncodeModule ()
getAttribute
public Object getAttribute (String name,
Configuration modeConf,
Map objectModel)
throws ConfigurationException
Specified by: getAttribute
in interface org.apache.cocoon.components.modules.input.InputModule
Throws:
ConfigurationException
Copyright © 1999-2008 The Apache Software Foundation . All Rights Reserved.