RichFaces CDK Generator 4.2.0.CR1

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
 Collection<PassThrough> getAttributes()
          

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

 void setWrapper(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 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 -

RichFaces CDK Generator 4.2.0.CR1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.