com.atlassian.confluence.xwork
Class SoyResult
java.lang.Object
com.atlassian.confluence.xwork.SoyResult
- All Implemented Interfaces:
- com.opensymphony.xwork.Result, Serializable
public class SoyResult
- extends Object
- implements com.opensymphony.xwork.Result
Represents a soy result. You can declare a soy result using:
<result name="success" type="soy">
<param name="completeModuleKey">${project.groupId}.${project.artifactId}:soy-templates</param>
<param name="template">Confluence.Templates.templateName</param>
</result>
Or more concisely,
<result name="success" type="soy">
<param name="location">${project.groupId}.${project.artifactId}:soy-templates/Confluence.Templates.templateName</param>
</result>
The plugin key of the module can also be implicit:
<result name="success" type="soy">
<param name="location">:soy-templates/Confluence.Templates.templateName</param>
</result>
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoyResult
public SoyResult()
execute
public void execute(com.opensymphony.xwork.ActionInvocation invocation)
throws Exception
- Specified by:
execute
in interface com.opensymphony.xwork.Result
- Throws:
Exception
getCompleteModuleKey
public String getCompleteModuleKey()
setCompleteModuleKey
public void setCompleteModuleKey(String completeModuleKey)
getTemplate
public String getTemplate()
setTemplate
public void setTemplate(String template)
getLocation
public String getLocation()
setLocation
public void setLocation(String location)
getContentType
public String getContentType()
setContentType
public void setContentType(String contentType)
getEncoding
public String getEncoding()
setEncoding
public void setEncoding(String encoding)
Copyright © 2003–2015 Atlassian. All rights reserved.