public class TemplateAttributeDefinitionFactoryBean extends BaseAttributeDefinitionFactoryBean
TemplateAttributeDefinitions.| Modifier and Type | Field and Description |
|---|---|
private String |
attributeTemplate
Attribute template string.
|
private List<String> |
sourceAttributes
IDs of source attributes.
|
private org.apache.velocity.app.VelocityEngine |
velocityEngine
Velocity engine instance.
|
| Constructor and Description |
|---|
TemplateAttributeDefinitionFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
createInstance() |
String |
getAttributeTemplate()
Get the attribute template.
|
Class |
getObjectType() |
List<String> |
getSourceAttributes()
Get the source attribute IDs.
|
org.apache.velocity.app.VelocityEngine |
getVelocityEngine()
Get velocity engine instance.
|
void |
setAttributeTemplate(String newAttributeTemplate)
Set the attribute template.
|
void |
setSourceAttributes(List<String> newSourceAttributes)
Set the source attribute IDs.
|
void |
setVelocityEngine(org.apache.velocity.app.VelocityEngine newVelocityEngine)
Set velocity engine instance.
|
getAttributeEncoders, getDisplayDescriptions, getDisplayNames, getSourceAttributeId, isDependencyOnly, populateAttributeDefinition, setAttributeEncoders, setDependencyOnly, setDisplayDescriptions, setDisplayNames, setSourceAttributeIdgetDependencyIds, getPluginId, setDependencyIds, setPluginIdprivate String attributeTemplate
private org.apache.velocity.app.VelocityEngine velocityEngine
public TemplateAttributeDefinitionFactoryBean()
public Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeangetObjectType in class org.springframework.beans.factory.config.AbstractFactoryBeanprotected Object createInstance() throws Exception
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBeanExceptionpublic String getAttributeTemplate()
public void setAttributeTemplate(String newAttributeTemplate)
newAttributeTemplate - the attribute templatepublic List<String> getSourceAttributes()
public void setSourceAttributes(List<String> newSourceAttributes)
newSourceAttributes - the source attribute IDspublic org.apache.velocity.app.VelocityEngine getVelocityEngine()
public void setVelocityEngine(org.apache.velocity.app.VelocityEngine newVelocityEngine)
newVelocityEngine - velocity engine instanceCopyright © 1999-2015. All Rights Reserved.