org.richfaces.cdk.templatecompiler.statements
Class TemplateStatementImpl

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

public class TemplateStatementImpl
extends java.lang.Object
implements TemplateStatement

Author:
asmirnov@exadel.com

Field Summary
 
Fields inherited from interface org.richfaces.cdk.templatecompiler.statements.TemplateStatement
FIELDS_TRANSFORM, METHODS_TRANSFORM
 
Fields inherited from interface org.richfaces.cdk.templatecompiler.builder.model.RequireImports
IMPORTS_TRANSFORM
 
Constructor Summary
TemplateStatementImpl(java.lang.String code)
           
 
Method Summary
 java.lang.String getCode()
           
 java.lang.Iterable<JavaField> getRequiredFields()
           
 java.lang.Iterable<JavaImport> getRequiredImports()
           
 java.lang.Iterable<HelperMethod> getRequiredMethods()
           
 void setParent(StatementsContainer parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateStatementImpl

public TemplateStatementImpl(java.lang.String code)
Method Detail

getCode

public java.lang.String getCode()
Specified by:
getCode in interface JavaStatement

getRequiredImports

public java.lang.Iterable<JavaImport> getRequiredImports()
Specified by:
getRequiredImports in interface RequireImports

getRequiredFields

public java.lang.Iterable<JavaField> getRequiredFields()
Specified by:
getRequiredFields in interface TemplateStatement

getRequiredMethods

public java.lang.Iterable<HelperMethod> getRequiredMethods()
Specified by:
getRequiredMethods in interface TemplateStatement

setParent

public void setParent(StatementsContainer parent)
Specified by:
setParent in interface TemplateStatement


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