org.ajax4jsf.renderkit.compiler
Class MethodParameterElement

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

public class MethodParameterElement
extends ElementBase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ajax4jsf.renderkit.compiler.ElementBase
ElementBase.SkinValueGetter, ElementBase.ValueGetter
 
Field Summary
 
Fields inherited from class org.ajax4jsf.renderkit.compiler.ElementBase
valueGetter
 
Constructor Summary
MethodParameterElement()
           
 
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)
           
protected  java.lang.Class[] getAllowedClasses()
           
 java.lang.String getTag()
           
 
Methods inherited from class org.ajax4jsf.renderkit.compiler.ElementBase
addBreakPoint, encodeBegin, encodeEnd, getChildren, getDefault, getString, getValue, isValueReference, setBaseSkin, setCall, setContext, setDefault, setParent, setProperty, setSkin, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodParameterElement

public MethodParameterElement()
Method Detail

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
Overrides:
encode in class ElementBase
Throws:
java.io.IOException

encode

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

encode

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

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
Overrides:
addChild in class ElementBase
Throws:
org.xml.sax.SAXException

getTag

public java.lang.String getTag()
Returns:
tag name for element.

getAllowedClasses

protected java.lang.Class[] getAllowedClasses()
Overrides:
getAllowedClasses in class ElementBase
Returns:
array of classes, allowed as childs for this element.


Copyright © 2010. All Rights Reserved.