org.richfaces.cdk.templatecompiler.statements
Class AddAttributesToScriptHashStatement
java.lang.Object
org.richfaces.cdk.templatecompiler.statements.StatementsContainer
org.richfaces.cdk.templatecompiler.statements.FreeMarkerTemplateStatementBase
org.richfaces.cdk.templatecompiler.statements.AddAttributesToScriptHashStatement
- All Implemented Interfaces:
- JavaStatement, RequireImports, Variables, TemplateStatement
public class AddAttributesToScriptHashStatement
- extends FreeMarkerTemplateStatementBase
- Author:
- Nick Belaevski
| Methods inherited from class org.richfaces.cdk.templatecompiler.statements.FreeMarkerTemplateStatementBase |
addConstant, addImport, addImports, addRequiredMethod, addRequiredMethods, getCode, getModelItem, getRequiredFields, getRequiredImports, getRequiredMethods, setTemplateName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddAttributesToScriptHashStatement
@Inject
public AddAttributesToScriptHashStatement(FreeMarkerRenderer renderer)
getFieldName
public String getFieldName()
- Returns:
- the fieldName
setFieldName
public void setFieldName(String fieldName)
- Parameters:
fieldName - the fieldName to set
getAttributes
public Collection<PassThrough> getAttributes()
- Returns:
- the attributes
getWrapper
public String getWrapper()
- Returns:
- the wrapper
setWrapper
public void setWrapper(String wrapper)
- Parameters:
wrapper - the wrapper to set
setAttributes
public void setAttributes(Collection<String> attributeNames,
Collection<PropertyBase> componentAttributes)
- Parameters:
attributeNames - attributes -
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.