public class XSLTResult extends Object implements Result
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PARAM
'stylesheetLocation' parameter.
|
protected boolean |
noCache
Determines whether or not the result should allow caching.
|
Constructor and Description |
---|
XSLTResult() |
XSLTResult(String stylesheetLocation) |
Modifier and Type | Method and Description |
---|---|
protected ErrorListener |
buildErrorListener() |
void |
execute(ActionInvocation invocation)
Represents a generic interface for all action execution results.
|
protected AdapterFactory |
getAdapterFactory() |
protected Source |
getDOMSourceForStack(Object value) |
String |
getEncoding() |
String |
getExposedValue() |
String |
getStatus() |
String |
getStylesheetLocation() |
protected Templates |
getTemplates(String path) |
protected URIResolver |
getURIResolver() |
protected void |
setAdapterFactory(AdapterFactory adapterFactory) |
void |
setEncoding(String encoding) |
void |
setExposedValue(String exposedValue) |
void |
setNoCache(String xsltNoCache) |
void |
setParse(boolean parse) |
void |
setStatus(String status) |
void |
setStylesheetLocation(String location) |
public static final String DEFAULT_PARAM
protected boolean noCache
public XSLTResult()
public XSLTResult(String stylesheetLocation)
public void setNoCache(String xsltNoCache)
public void setStylesheetLocation(String location)
public String getStylesheetLocation()
public String getExposedValue()
public void setExposedValue(String exposedValue)
public String getStatus()
public void setStatus(String status)
public String getEncoding()
public void setEncoding(String encoding)
public void setParse(boolean parse)
parse
- if true, parse the stylesheet location for OGNL expressions.public void execute(ActionInvocation invocation) throws Exception
Result
protected ErrorListener buildErrorListener()
protected AdapterFactory getAdapterFactory()
protected void setAdapterFactory(AdapterFactory adapterFactory)
protected URIResolver getURIResolver()
protected Templates getTemplates(String path) throws TransformerException, IOException
TransformerException
IOException
protected Source getDOMSourceForStack(Object value) throws IllegalAccessException, InstantiationException
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.