org.richfaces.cdk.templatecompiler.statements
Class AddAttributesToScriptHashStatement

java.lang.Object
  extended by org.richfaces.cdk.templatecompiler.statements.StatementsContainer
      extended by org.richfaces.cdk.templatecompiler.statements.FreeMarkerTemplateStatementBase
          extended by org.richfaces.cdk.templatecompiler.statements.AddAttributesToScriptHashStatement
All Implemented Interfaces:
JavaStatement, RequireImports, Variables, TemplateStatement

public class AddAttributesToScriptHashStatement
extends FreeMarkerTemplateStatementBase

Author:
Nick Belaevski

Field Summary
 
Fields inherited from class org.richfaces.cdk.templatecompiler.statements.FreeMarkerTemplateStatementBase
parent
 
Fields inherited from interface org.richfaces.cdk.templatecompiler.statements.TemplateStatement
METHODS_TRANSFORM
 
Constructor Summary
AddAttributesToScriptHashStatement(FreeMarkerRenderer renderer)
           
 
Method Summary
 java.util.Collection<PassThrough> getAttributes()
          

 java.lang.String getFieldName()
           
 java.lang.String getWrapper()
           
 void setAttributes(java.util.Collection<java.lang.String> attributeNames, java.util.Collection<PropertyBase> componentAttributes)
           
 void setFieldName(java.lang.String fieldName)
          

 void setWrapper(java.lang.String wrapper)
           
 
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 org.richfaces.cdk.templatecompiler.statements.StatementsContainer
addStatement, addStatement, getParent, getStatements, getVariable, isDefined, isEmpty, setParent, setVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddAttributesToScriptHashStatement

@Inject
public AddAttributesToScriptHashStatement(FreeMarkerRenderer renderer)
Method Detail

getFieldName

public java.lang.String getFieldName()
Returns:
the fieldName

setFieldName

public void setFieldName(java.lang.String fieldName)

Parameters:
fieldName - the fieldName to set

getAttributes

public java.util.Collection<PassThrough> getAttributes()

Returns:
the attributes

getWrapper

public java.lang.String getWrapper()
Returns:
the wrapper

setWrapper

public void setWrapper(java.lang.String wrapper)
Parameters:
wrapper - the wrapper to set

setAttributes

public void setAttributes(java.util.Collection<java.lang.String> attributeNames,
                          java.util.Collection<PropertyBase> componentAttributes)
Parameters:
attributeNames -
attributes -


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.