org.ajax4jsf.templatecompiler.elements
Class TemplateElementBase

java.lang.Object
  extended by org.ajax4jsf.templatecompiler.elements.TemplateElementBase
All Implemented Interfaces:
TemplateElement
Direct Known Subclasses:
AjaxRenderedAreaElement, CDATAElement, CommentElement, Declaration, DirectiveInclude, DirectivePage, Expression, FCallTemplateElement, FClientIDTemplateElement, FInsertChildren, ForEachTemplateElement, FResourceTemplateElement, HeaderResourceElement, HTMLElement, IFTemplateElement, InsertComponent, ObjectTemplateElement, PIElement, RootElement, Scriptlet, SetTemplateElement, TextElement, UInsertFacetTemplateElement, VcpBodyTemplateElement

public abstract class TemplateElementBase
extends java.lang.Object
implements TemplateElement

Abstract base class for tag processors.

Version:
$Revision: 1.1.2.3 $ $Date: 2007/02/26 20:48:44 $
Author:
ayukhovich@exadel.com (latest modification by $Author: alexsmirnov $)

Constructor Summary
TemplateElementBase(org.w3c.dom.Node element, CompilationContext componentBean)
           
 
Method Summary
 void addSubElement(TemplateElement e)
           
 CompilationContext getComponentBean()
           
 org.ajax4jsf.templatecompiler.elements.ElementsArray getSubElements()
           
 boolean isSkipBody()
           
 java.lang.String toCode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ajax4jsf.templatecompiler.elements.TemplateElement
getBeginElement, getEndElement
 

Constructor Detail

TemplateElementBase

public TemplateElementBase(org.w3c.dom.Node element,
                           CompilationContext componentBean)
Method Detail

isSkipBody

public boolean isSkipBody()
Specified by:
isSkipBody in interface TemplateElement

addSubElement

public void addSubElement(TemplateElement e)
Specified by:
addSubElement in interface TemplateElement

toCode

public java.lang.String toCode()
                        throws CompilationException
Specified by:
toCode in interface TemplateElement
Throws:
CompilationException

getComponentBean

public CompilationContext getComponentBean()
Returns:
the componentBean

getSubElements

public org.ajax4jsf.templatecompiler.elements.ElementsArray getSubElements()
Specified by:
getSubElements in interface TemplateElement
Returns:
the subElements


Copyright © 2009. All Rights Reserved.