Java Doc for UIComponentClassicTagBase.java in  » J2EE » myfaces-core-1.2.0 » javax » faces » webapp » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » myfaces core 1.2.0 » javax.faces.webapp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.faces.webapp.UIComponentTagBase
      javax.faces.webapp.UIComponentClassicTagBase

All known Subclasses:   javax.faces.webapp.UIComponentTag,  javax.faces.webapp.UIComponentELTag,
UIComponentClassicTagBase
abstract public class UIComponentClassicTagBase extends UIComponentTagBase implements BodyTag,JspIdConsumer(Code)

author:
   Bruno Aranda (latest modification by $Author: baranda $)
author:
   Manfred Geiler
author:
   Dennis Byrne
version:
   $Revision$ $Date$
since:
   1.2


Field Summary
final protected static  StringUNIQUE_ID_PREFIX
    
protected  BodyContentbodyContent
    
protected  PageContextpageContext
    


Method Summary
protected  voidaddChild(UIComponent child)
    
protected  voidaddFacet(String name)
    
protected  voidaddVerbatimAfterComponent(UIComponentClassicTagBase parentTag, UIComponent verbatim, UIComponent component)
    

Add verbatim as a sibling of _componentInstance in _componentInstance in the parent's child list.

protected  voidaddVerbatimBeforeComponent(UIComponentClassicTagBase parentTag, UIComponent verbatimComp, UIComponent component)
    
abstract protected  UIComponentcreateComponent(FacesContext context, String newId)
    
protected  UIOutputcreateVerbatimComponent()
    
protected  UIComponentcreateVerbatimComponentFromBodyContent()
    
public  intdoAfterBody()
    
public  intdoEndTag()
    
public  voiddoInitBody()
    
public  intdoStartTag()
    
protected  voidencodeBegin()
     Invoke encodeBegin on the associated UIComponent.
protected  voidencodeChildren()
     Invoke encodeChildren on the associated UIComponent.
protected  voidencodeEnd()
     Invoke encodeEnd on the associated UIComponent.
protected  UIComponentfindComponent(FacesContext context)
     Return the corresponding UIComponent for this tag, creating it if necessary.

If this is not the first time this method has been called, then return the cached _componentInstance instance found last time.

If this is not the first time this view has been seen, then locate the existing _componentInstance using the id attribute assigned to this tag and return it.

public  BodyContentgetBodyContent()
    
public  UIComponentgetComponentInstance()
     Return the UIComponent instance associated with this tag.
public  booleangetCreated()
    
protected  List<String>getCreatedComponents()
    
protected  intgetDoAfterBodyValue()
    
protected  intgetDoEndValue()
     Get the value to be returned by the doEndTag method to the JSP framework.
protected  intgetDoStartValue()
     Get the value to be returned by the doStartTag method to the JSP framework.
protected  FacesContextgetFacesContext()
    
protected  StringgetFacesJspId()
    
protected  StringgetFacetName()
    
protected  StringgetId()
     Return the id (if any) specified as an xml attribute on this tag.
protected  intgetIndexOfNextChildTag()
    
public  StringgetJspId()
    
public  TaggetParent()
     Returns the enclosing JSP tag object.
public static  UIComponentClassicTagBasegetParentUIComponentClassicTagBase(PageContext pageContext)
    
public  JspWritergetPreviousOut()
    
abstract protected  booleanhasBinding()
    
public  voidrelease()
    
public  voidsetBodyContent(BodyContent bodyContent)
    
public  voidsetId(String id)
    
public  voidsetJspId(String jspId)
    
public  voidsetPageContext(PageContext pageContext)
     Standard method invoked by the JSP framework to inform this tag of the PageContext associated with the jsp page currently being processed.
public  voidsetParent(Tag tag)
     Standard method invoked by the JSP framework to inform this tag of the enclosing JSP tag object.
abstract protected  voidsetProperties(UIComponent component)
    
protected  voidsetupResponseWriter()
    

Field Detail
UNIQUE_ID_PREFIX
final protected static String UNIQUE_ID_PREFIX(Code)



bodyContent
protected BodyContent bodyContent(Code)



pageContext
protected PageContext pageContext(Code)





Method Detail
addChild
protected void addChild(UIComponent child)(Code)

Parameters:
  child -
See Also:    http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentTagBase.html#addChild(javax.faces._componentInstance.UIComponent)



addFacet
protected void addFacet(String name)(Code)

Parameters:
  name -
See Also:    http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentTagBase.html#addFacet(java.lang.String)



addVerbatimAfterComponent
protected void addVerbatimAfterComponent(UIComponentClassicTagBase parentTag, UIComponent verbatim, UIComponent component)(Code)

Add verbatim as a sibling of _componentInstance in _componentInstance in the parent's child list. verbatim is added to the list at the position immediatly following _componentInstance.




addVerbatimBeforeComponent
protected void addVerbatimBeforeComponent(UIComponentClassicTagBase parentTag, UIComponent verbatimComp, UIComponent component)(Code)



createComponent
abstract protected UIComponent createComponent(FacesContext context, String newId) throws JspException(Code)



createVerbatimComponent
protected UIOutput createVerbatimComponent()(Code)

Creates a transient UIOutput using the Application, with the following characteristics:

componentType is javax.faces.HtmlOutputText.

transient is true.

escape is false.

id is FacesContext.getViewRoot().createUniqueId()




createVerbatimComponentFromBodyContent
protected UIComponent createVerbatimComponentFromBodyContent()(Code)
Creates a UIComponent from the BodyContent



doAfterBody
public int doAfterBody() throws JspException(Code)



doEndTag
public int doEndTag() throws JspException(Code)



doInitBody
public void doInitBody() throws JspException(Code)



doStartTag
public int doStartTag() throws JspException(Code)



encodeBegin
protected void encodeBegin() throws IOException(Code)
Invoke encodeBegin on the associated UIComponent. Subclasses can override this method to perform custom processing before or after the UIComponent method invocation.



encodeChildren
protected void encodeChildren() throws IOException(Code)
Invoke encodeChildren on the associated UIComponent. Subclasses can override this method to perform custom processing before or after the UIComponent method invocation. This is only invoked for components whose getRendersChildren method returns true.



encodeEnd
protected void encodeEnd() throws IOException(Code)
Invoke encodeEnd on the associated UIComponent. Subclasses can override this method to perform custom processing before or after the UIComponent method invocation.



findComponent
protected UIComponent findComponent(FacesContext context) throws JspException(Code)
Return the corresponding UIComponent for this tag, creating it if necessary.

If this is not the first time this method has been called, then return the cached _componentInstance instance found last time.

If this is not the first time this view has been seen, then locate the existing _componentInstance using the id attribute assigned to this tag and return it. Note that this is simple for components with user-assigned ids. For components with generated ids, the "reattachment" relies on the fact that UIViewRoot will generate the same id values for tags in this page as it did when first generating the view. For this reason all JSF tags within a JSTL "c:if" are required to have explicitly-assigned ids.

Otherwise create the _componentInstance, populate its properties from the xml attributes on this JSP tag and attach it to its parent.

When a _componentInstance is found or created the parent JSP tag is also told that the _componentInstance has been "seen". When the parent tag ends it will delete any components which were in the view previously but have not been seen this time; see doEndTag for more details.




getBodyContent
public BodyContent getBodyContent()(Code)



getComponentInstance
public UIComponent getComponentInstance()(Code)
Return the UIComponent instance associated with this tag. a UIComponent, never null.



getCreated
public boolean getCreated()(Code)

See Also:    http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentClassicTagBase.html#getCreated()



getCreatedComponents
protected List<String> getCreatedComponents()(Code)



getDoAfterBodyValue
protected int getDoAfterBodyValue() throws javax.servlet.jsp.JspException(Code)



getDoEndValue
protected int getDoEndValue() throws JspException(Code)
Get the value to be returned by the doEndTag method to the JSP framework. Subclasses which wish to use the inherited doEndTag but control whether the tag is permitted to contain nested tags or not can just override this method to return Tag.SOME_CONSTANT. Tag.EVAL_PAGE



getDoStartValue
protected int getDoStartValue() throws JspException(Code)
Get the value to be returned by the doStartTag method to the JSP framework. Subclasses which wish to use the inherited doStartTag but control whether the tag is permitted to contain nested tags or not can just override this method to return Tag.SOME_CONSTANT. BodyTag.EVAL_BODY_BUFFERED



getFacesContext
protected FacesContext getFacesContext()(Code)

See Also:    http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentTagBase.html#getFacesContext()



getFacesJspId
protected String getFacesJspId()(Code)



getFacetName
protected String getFacetName()(Code)



getId
protected String getId()(Code)
Return the id (if any) specified as an xml attribute on this tag.



getIndexOfNextChildTag
protected int getIndexOfNextChildTag()(Code)

See Also:    http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentTagBase.html#getIndexOfNextChildTag()



getJspId
public String getJspId()(Code)

See Also:    http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentClassicTagBase.html#getFacesJspId()



getParent
public Tag getParent()(Code)
Returns the enclosing JSP tag object. Note that this is not necessarily a JSF tag.



getParentUIComponentClassicTagBase
public static UIComponentClassicTagBase getParentUIComponentClassicTagBase(PageContext pageContext)(Code)

See Also:    http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentClassicTagBase.html#getParentUIComponentClassicTagBase(javax.servlet.jsp.PageContext)
Parameters:
  pageContext -



getPreviousOut
public JspWriter getPreviousOut()(Code)



hasBinding
abstract protected boolean hasBinding()(Code)



release
public void release()(Code)



setBodyContent
public void setBodyContent(BodyContent bodyContent)(Code)



setId
public void setId(String id)(Code)

Parameters:
  id -
See Also:    http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentTagBase.html#setId(java.lang.String)



setJspId
public void setJspId(String jspId)(Code)



setPageContext
public void setPageContext(PageContext pageContext)(Code)
Standard method invoked by the JSP framework to inform this tag of the PageContext associated with the jsp page currently being processed.



setParent
public void setParent(Tag tag)(Code)
Standard method invoked by the JSP framework to inform this tag of the enclosing JSP tag object.



setProperties
abstract protected void setProperties(UIComponent component)(Code)



setupResponseWriter
protected void setupResponseWriter()(Code)
javax.faces.application.ViewHandler.renderView



Fields inherited from javax.faces.webapp.UIComponentTagBase
protected static Logger log(Code)(Java Doc)

Methods inherited from javax.faces.webapp.UIComponentTagBase
abstract protected void addChild(UIComponent child)(Code)(Java Doc)
abstract protected void addFacet(String name)(Code)(Java Doc)
abstract public UIComponent getComponentInstance()(Code)(Java Doc)
abstract public String getComponentType()(Code)(Java Doc)
abstract public boolean getCreated()(Code)(Java Doc)
protected ELContext getELContext()(Code)(Java Doc)
abstract protected FacesContext getFacesContext()(Code)(Java Doc)
abstract protected int getIndexOfNextChildTag()(Code)(Java Doc)
abstract public String getRendererType()(Code)(Java Doc)
abstract public void setId(String id)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.