org.richfaces.cdk.templatecompiler.statements
Class AttributesStatement

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

public class AttributesStatement
extends StatementsContainer

Author:
asmirnov@exadel.com

Field Summary
 
Fields inherited from interface org.richfaces.cdk.templatecompiler.statements.TemplateStatement
METHODS_TRANSFORM
 
Constructor Summary
AttributesStatement(org.richfaces.cdk.attributes.Schema attributesSchema, com.google.inject.Provider<WriteAttributeStatement> attributeStatementProvider, com.google.inject.Provider<WriteAttributesSetStatement> passThroughStatementProvider, org.richfaces.cdk.Logger logger)
           
 
Method Summary
protected  org.richfaces.cdk.attributes.Attribute.Kind getAttributeKind(java.lang.String attributeName)
           
protected  org.richfaces.cdk.attributes.Attribute getGenericAttribute(java.lang.String name)
           
protected  org.richfaces.cdk.attributes.Attribute getSchemaAttribute(java.lang.String attributeName)
           
 void processAttributes(AnyElement element, java.util.Collection<PropertyBase> componentAttributes)
          

 
Methods inherited from class org.richfaces.cdk.templatecompiler.statements.StatementsContainer
addStatement, addStatement, getCode, getParent, getRequiredFields, getRequiredImports, getRequiredMethods, 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

AttributesStatement

@Inject
public AttributesStatement(org.richfaces.cdk.attributes.Schema attributesSchema,
                                  com.google.inject.Provider<WriteAttributeStatement> attributeStatementProvider,
                                  com.google.inject.Provider<WriteAttributesSetStatement> passThroughStatementProvider,
                                  org.richfaces.cdk.Logger logger)
Method Detail

processAttributes

public void processAttributes(AnyElement element,
                              java.util.Collection<PropertyBase> componentAttributes)

Parameters:
attributes -
componentAttributes -

getAttributeKind

protected org.richfaces.cdk.attributes.Attribute.Kind getAttributeKind(java.lang.String attributeName)

getSchemaAttribute

protected org.richfaces.cdk.attributes.Attribute getSchemaAttribute(java.lang.String attributeName)

getGenericAttribute

protected org.richfaces.cdk.attributes.Attribute getGenericAttribute(java.lang.String name)


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