org.richfaces.cdk.templatecompiler.model
Class ModelFragment

java.lang.Object
  extended by org.richfaces.cdk.templatecompiler.model.ModelFragment
All Implemented Interfaces:
LeafModelElement, ModelElement
Direct Known Subclasses:
AnyElement, CdkBodyElement, CdkCaseElement, CdkChooseElement, CdkConditionalJstlElementBase, CdkDefaultElement, CdkForEachElement, CdkOtherwiseElement, CdkScriptObjectElement, CdkSwitchElement, CompositeImplementation

public class ModelFragment
extends java.lang.Object
implements LeafModelElement

All classes that are used in template bodey should be presented in the XmlSeeAlso annotation

Author:
asmirnov@exadel.com

Constructor Summary
ModelFragment()
           
 
Method Summary
 void afterVisit(TemplateVisitor visitor)
           
 void beforeVisit(TemplateVisitor visitor)
           
 java.util.List<java.lang.Object> getChildren()
           
 void setChildren(java.util.List<java.lang.Object> body)
          

 void visit(TemplateVisitor visitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelFragment

public ModelFragment()
Method Detail

getChildren

public java.util.List<java.lang.Object> getChildren()
Specified by:
getChildren in interface LeafModelElement

setChildren

public void setChildren(java.util.List<java.lang.Object> body)

Parameters:
body - the body to set

visit

public void visit(TemplateVisitor visitor)
           throws CdkException
Specified by:
visit in interface ModelElement
Throws:
CdkException

afterVisit

public void afterVisit(TemplateVisitor visitor)
                throws CdkException
Throws:
CdkException

beforeVisit

public void beforeVisit(TemplateVisitor visitor)
                 throws CdkException
Throws:
CdkException


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