org.ajax4jsf.renderkit.compiler
Class BreakPoint

java.lang.Object
  extended by org.ajax4jsf.renderkit.compiler.BreakPoint
All Implemented Interfaces:
PreparedTemplate

public class BreakPoint
extends java.lang.Object
implements PreparedTemplate

Version:
$Revision: 1.1.2.1 $ $Date: 2007/01/09 18:57:45 $
Author:
asmirnov@exadel.com (latest modification by $Author: alexsmirnov $)

Constructor Summary
BreakPoint()
           
 
Method Summary
 void addChild(PreparedTemplate child)
          Append child element to current.
 void encode(RendererBase renderer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Encode this XML component.
 void encode(TemplateContext context)
           
 void encode(TemplateContext context, java.lang.String breakPoint)
           
 java.util.List getChildren()
           
 java.lang.String getName()
           
 java.lang.String getTag()
           
 java.lang.Object getValue(TemplateContext context)
           
 void setName(java.lang.String name)
           
 void setParent(PreparedTemplate parent)
          Set parent element in compiled tree for template.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BreakPoint

public BreakPoint()
Method Detail

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

encode

public void encode(RendererBase renderer,
                   javax.faces.context.FacesContext context,
                   javax.faces.component.UIComponent component)
            throws java.io.IOException
Description copied from interface: PreparedTemplate
Encode this XML component. May be simple send element and attributes, call specified Renderer or RendererUtils method etc. Can encode children elements ( if exist ).

Specified by:
encode in interface PreparedTemplate
Throws:
java.io.IOException

encode

public void encode(TemplateContext context)
            throws java.io.IOException
Specified by:
encode in interface PreparedTemplate
Throws:
java.io.IOException

encode

public void encode(TemplateContext context,
                   java.lang.String breakPoint)
            throws java.io.IOException
Specified by:
encode in interface PreparedTemplate
Throws:
java.io.IOException

getChildren

public java.util.List getChildren()
Specified by:
getChildren in interface PreparedTemplate
Returns:
List of childrens of this component.

addChild

public void addChild(PreparedTemplate child)
              throws org.xml.sax.SAXException
Description copied from interface: PreparedTemplate
Append child element to current.

Specified by:
addChild in interface PreparedTemplate
Throws:
org.xml.sax.SAXException

setParent

public void setParent(PreparedTemplate parent)
               throws org.xml.sax.SAXException
Description copied from interface: PreparedTemplate
Set parent element in compiled tree for template.

Specified by:
setParent in interface PreparedTemplate
Throws:
org.xml.sax.SAXException

getTag

public java.lang.String getTag()
Specified by:
getTag in interface PreparedTemplate
Returns:
tag name for element.

getValue

public java.lang.Object getValue(TemplateContext context)
Specified by:
getValue in interface PreparedTemplate
Returns:
Returns the value. If is EL expression valueBinding - evaluate in.


Copyright © 2010. All Rights Reserved.