|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.woody.transformation.WoodyPipelineConfig
public class WoodyPipelineConfig
WoodyPipeLineConfig
Field Summary | |
---|---|
static String |
WOODY_FORM
Default key under which the woody form is stored in the JXPath context. |
Method Summary | |
---|---|
static WoodyPipelineConfig |
createConfig(Map objectModel,
Parameters parameters)
Creates and initializes a WoodyPipelineConfig object based on the passed arguments of the setup() of the specific Pipeline-component. |
Object |
evaluateExpression(String expression)
Evaluates the passed xpath expression using the internal jxpath context holding the declared variables: continuation: as made available by flowscript request: as present in the cocoon processing environment session: as present in the cocoon processing environment parameters: as present in the cocoon sitemap node of the pipeline component |
Form |
findForm()
Overloads findForm(String) by setting the jxpath-expression to null |
Form |
findForm(String jxpathExpression)
Finds the form from the current request-context based on the settings of this configuration object. |
String |
getFormAction()
The value for the wi:form-generated/@action. |
Attributes |
getFormAttributes()
The grouped attributes to set on the wi:form-generated element. |
String |
getFormMethod()
The value for the wi:form-generated/@method. |
Locale |
getLocale()
|
Locale |
getLocaleParameter()
|
void |
setLocale(Locale locale)
|
String |
translateText(String original)
Replaces JXPath expressions embedded inside #{ and } by their value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String WOODY_FORM
Method Detail |
---|
public static WoodyPipelineConfig createConfig(Map objectModel, Parameters parameters)
objectModel
- the objectmodel as passed in the setup()parameters
- the parameters as passed in the setup()
public Form findForm() throws SAXException
findForm(String)
by setting the jxpath-expression to null
SAXException
public Form findForm(String jxpathExpression) throws SAXException
jxpathExpression
- that should be pointing to the form
SAXException
- in any of the following cases:
Form
instance.Form
instance under the key
specified by 'attribute-name' (if specified)Form
instance.public String translateText(String original)
evaluateExpression(String)
to evaluate the found expression.
public Object evaluateExpression(String expression)
expression
-
public Locale getLocale()
public void setLocale(Locale locale)
public Locale getLocaleParameter()
public String getFormAction()
translateText(String)
result of the 'form-action' sitemap
parameter to the pipeline component, or null if that parameter was not set.public String getFormMethod()
public Attributes getFormAttributes()
getFormAction()
,
getFormMethod()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |