Java Doc for TagAttribute.java in  » J2EE » facelets » com » sun » facelets » tag » 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 » facelets » com.sun.facelets.tag 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.facelets.tag.TagAttribute

TagAttribute
final public class TagAttribute (Code)
Representation of a Tag's attribute in a Facelet File
author:
   Jacob Hookom
version:
   $Id: TagAttribute.java,v 1.8 2008/02/20 06:35:52 rlubke Exp $



Constructor Summary
public  TagAttribute(Location location, String ns, String localName, String qName, String value)
    

Method Summary
public  booleangetBoolean(FaceletContext ctx)
     If literal, return Boolean.getBoolean(java.lang.String) Boolean.getBoolean(java.lang.String) passing our value, otherwise call TagAttribute.getObject(FaceletContext,Class) getObject(FaceletContext, Class) .
public  intgetInt(FaceletContext ctx)
     If literal, call Integer.parseInt(java.lang.String) Integer.parseInt(String) , otherwise call TagAttribute.getObject(FaceletContext,Class) getObject(FaceletContext, Class) .
public  StringgetLocalName()
    
public  LocationgetLocation()
    
public  MethodExpressiongetMethodExpression(FaceletContext ctx, Class type, Class[] paramTypes)
     Create a MethodExpression, using this attribute's value as the expression String.
public  StringgetNamespace()
    
public  ObjectgetObject(FaceletContext ctx)
    
public  ObjectgetObject(FaceletContext ctx, Class type)
     If literal, simply coerce our String literal value using an ExpressionFactory, otherwise create a ValueExpression and evaluate it.
public  StringgetQName()
    
public  StringgetValue()
    
public  StringgetValue(FaceletContext ctx)
     If literal, then return our value, otherwise delegate to getObject, passing String.class.
public  ValueExpressiongetValueExpression(FaceletContext ctx, Class type)
     Create a ValueExpression, using this attribute's literal value and the passed expected type.
public  booleanisLiteral()
    
public  StringtoString()
    


Constructor Detail
TagAttribute
public TagAttribute(Location location, String ns, String localName, String qName, String value)(Code)




Method Detail
getBoolean
public boolean getBoolean(FaceletContext ctx)(Code)
If literal, return Boolean.getBoolean(java.lang.String) Boolean.getBoolean(java.lang.String) passing our value, otherwise call TagAttribute.getObject(FaceletContext,Class) getObject(FaceletContext, Class) .
See Also:   Boolean.getBoolean(java.lang.String)
See Also:   TagAttribute.getObject(FaceletContext,Class)
Parameters:
  ctx - FaceletContext to use boolean value



getInt
public int getInt(FaceletContext ctx)(Code)
If literal, call Integer.parseInt(java.lang.String) Integer.parseInt(String) , otherwise call TagAttribute.getObject(FaceletContext,Class) getObject(FaceletContext, Class) .
See Also:   Integer.parseInt(java.lang.String)
See Also:   TagAttribute.getObject(FaceletContext,Class)
Parameters:
  ctx - FaceletContext to use int value



getLocalName
public String getLocalName()(Code)
Local name of this attribute local name of this attribute



getLocation
public Location getLocation()(Code)
The location of this attribute in the FaceletContext the TagAttribute's location



getMethodExpression
public MethodExpression getMethodExpression(FaceletContext ctx, Class type, Class[] paramTypes)(Code)
Create a MethodExpression, using this attribute's value as the expression String.
See Also:   ExpressionFactory.createMethodExpression(javax.el.ELContextjava.lang.Stringjava.lang.Classjava.lang.Class[])
See Also:   MethodExpression
Parameters:
  ctx - FaceletContext to use
Parameters:
  type - expected return type
Parameters:
  paramTypes - parameter type a MethodExpression instance



getNamespace
public String getNamespace()(Code)
The resolved Namespace for this attribute resolved Namespace



getObject
public Object getObject(FaceletContext ctx)(Code)
Delegates to getObject with Object.class as a param
See Also:   TagAttribute.getObject(FaceletContext,Class)
Parameters:
  ctx - FaceletContext to use Object representation of this attribute's value



getObject
public Object getObject(FaceletContext ctx, Class type)(Code)
If literal, simply coerce our String literal value using an ExpressionFactory, otherwise create a ValueExpression and evaluate it.
See Also:   ExpressionFactory.coerceToType(java.lang.Objectjava.lang.Class)
See Also:   ExpressionFactory.createValueExpression(javax.el.ELContextjava.lang.Stringjava.lang.Class)
See Also:   ValueExpression
Parameters:
  ctx - FaceletContext to use
Parameters:
  type - expected return type Object value of this attribute



getQName
public String getQName()(Code)
The qualified name for this attribute the qualified name for this attribute



getValue
public String getValue()(Code)
Return the literal value of this attribute literal value



getValue
public String getValue(FaceletContext ctx)(Code)
If literal, then return our value, otherwise delegate to getObject, passing String.class.
See Also:   TagAttribute.getObject(FaceletContext,Class)
Parameters:
  ctx - FaceletContext to use String value of this attribute



getValueExpression
public ValueExpression getValueExpression(FaceletContext ctx, Class type)(Code)
Create a ValueExpression, using this attribute's literal value and the passed expected type.
See Also:   ExpressionFactory.createValueExpression(javax.el.ELContextjava.lang.Stringjava.lang.Class)
See Also:   ValueExpression
Parameters:
  ctx - FaceletContext to use
Parameters:
  type - expected return type ValueExpression instance



isLiteral
public boolean isLiteral()(Code)
If this TagAttribute is literal (not #{..} or ${..}) true if this attribute is literal



toString
public String toString()(Code)



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.