Java Doc for TagInstance.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » jsp » 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 » EJB Server resin 3.1.5 » resin » com.caucho.jsp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.jsp.TagInstance

TagInstance
public class TagInstance (Code)
Describes a single tag instance.

Inner Class :static class Varies

Field Summary
final public static  StringFRAGMENT_WITH_SIMPLE_PARENT
    
final public static  StringFRAGMENT_WITH_TAG_PARENT
    
final static  L10NL
    
final public static  StringTOP_TAG
    
final static  Loggerlog
    

Constructor Summary
public  TagInstance(ParseTagManager manager)
    
public  TagInstance(ParseTagManager manager, String id)
    
 TagInstance(TagInstance parent, TagInfo tagInfo, QName qname, Class cl)
    

Method Summary
public  voidaddAttribute(QName name, Object value)
     Sets the attribute.
public  TagInstanceaddNewTag(QName tagName, TagInfo tagInfo, Class cl, ArrayList<QName> names, ArrayList<String> values, boolean hasBodyContent)
     Adds a new tag.
public  TagInstanceaddTag(QName tagName, TagInfo tagInfo, Class cl, ArrayList<QName> names, ArrayList<Object> values, boolean hasBodyContent)
     Adds a child tag.
 booleancanBeRequestTime(String name)
    
public  TagInstancefindTag(QName tagName, ArrayList<QName> names, boolean hasBodyContent)
     Finds the matching tag.
public  booleangenerateAdapterDeclaration()
    
public  TagInstanceget(int i)
     Iterates through the children.
public  AnalyzedTaggetAnalyzedTag()
     Returns the analyzed tag.
public  StringgetAttribute(QName name)
    
public  TagAttributeInfogetAttributeInfo(String name)
    
public  ArrayList<QName>getAttributeNames()
     Returns the tag's attribute names.
public  booleangetBodyContent()
     Get true if the tag has a body content.
public  StringgetId()
    
public  StringgetName()
    
public  booleangetNeedsAdapter()
     Set true if needs an adapter.
public  TagInstancegetParent()
    
public  QNamegetQName()
    
public  ClassgetTagClass()
     Returns the tag class.
public  TagInfogetTagInfo()
    
public  VariableInfo[]getVarInfo()
    
public  booleanhasChildren()
     Returns true if there are children.
public  booleanisSimpleTag()
     Returns true if it's a simple tag.
public  booleanisTagFileTag()
     Returns true if it's a simple tag.
public  booleanisTop()
     Returns true for a top tag.
public  Iterator<TagInstance>iterator()
     Iterates through the children.
 booleanmatch(QName tagName, ArrayList<QName> names, boolean hasBodyContent)
     Returns true for matching instances.
public  voidsetBodyContent(boolean hasBodyContent)
     Set true if the tag has a body content.
public  voidsetId(String id)
    
public  voidsetNeedsAdapter(boolean needsAdapter)
     if needs an adapter.
 voidsetVarInfo(VariableInfo[] varInfo)
    
public  intsize()
    

Field Detail
FRAGMENT_WITH_SIMPLE_PARENT
final public static String FRAGMENT_WITH_SIMPLE_PARENT(Code)



FRAGMENT_WITH_TAG_PARENT
final public static String FRAGMENT_WITH_TAG_PARENT(Code)



L
final static L10N L(Code)



TOP_TAG
final public static String TOP_TAG(Code)



log
final static Logger log(Code)




Constructor Detail
TagInstance
public TagInstance(ParseTagManager manager)(Code)



TagInstance
public TagInstance(ParseTagManager manager, String id)(Code)



TagInstance
TagInstance(TagInstance parent, TagInfo tagInfo, QName qname, Class cl)(Code)




Method Detail
addAttribute
public void addAttribute(QName name, Object value)(Code)
Sets the attribute. Null values can't be pre-cached.



addNewTag
public TagInstance addNewTag(QName tagName, TagInfo tagInfo, Class cl, ArrayList<QName> names, ArrayList<String> values, boolean hasBodyContent)(Code)
Adds a new tag. Always create a new tag.



addTag
public TagInstance addTag(QName tagName, TagInfo tagInfo, Class cl, ArrayList<QName> names, ArrayList<Object> values, boolean hasBodyContent)(Code)
Adds a child tag. If the tag exists, just reuse it.
Parameters:
  tagName - the JSP name of the tag
Parameters:
  tagInfo - the TagInfo structure for the tag
Parameters:
  cl - the tag's implementation class
Parameters:
  names - the array of attribute names
Parameters:
  values - the array of attribute values



canBeRequestTime
boolean canBeRequestTime(String name)(Code)



findTag
public TagInstance findTag(QName tagName, ArrayList<QName> names, boolean hasBodyContent)(Code)
Finds the matching tag.



generateAdapterDeclaration
public boolean generateAdapterDeclaration()(Code)



get
public TagInstance get(int i)(Code)
Iterates through the children.



getAnalyzedTag
public AnalyzedTag getAnalyzedTag()(Code)
Returns the analyzed tag.



getAttribute
public String getAttribute(QName name)(Code)



getAttributeInfo
public TagAttributeInfo getAttributeInfo(String name)(Code)



getAttributeNames
public ArrayList<QName> getAttributeNames()(Code)
Returns the tag's attribute names.



getBodyContent
public boolean getBodyContent()(Code)
Get true if the tag has a body content.



getId
public String getId()(Code)



getName
public String getName()(Code)
Returns the tag name



getNeedsAdapter
public boolean getNeedsAdapter()(Code)
Set true if needs an adapter.



getParent
public TagInstance getParent()(Code)



getQName
public QName getQName()(Code)
Returns the tag name



getTagClass
public Class getTagClass()(Code)
Returns the tag class.



getTagInfo
public TagInfo getTagInfo()(Code)



getVarInfo
public VariableInfo[] getVarInfo()(Code)



hasChildren
public boolean hasChildren()(Code)
Returns true if there are children.



isSimpleTag
public boolean isSimpleTag()(Code)
Returns true if it's a simple tag.



isTagFileTag
public boolean isTagFileTag()(Code)
Returns true if it's a simple tag.



isTop
public boolean isTop()(Code)
Returns true for a top tag.



iterator
public Iterator<TagInstance> iterator()(Code)
Iterates through the children.



match
boolean match(QName tagName, ArrayList<QName> names, boolean hasBodyContent)(Code)
Returns true for matching instances.



setBodyContent
public void setBodyContent(boolean hasBodyContent)(Code)
Set true if the tag has a body content.



setId
public void setId(String id)(Code)



setNeedsAdapter
public void setNeedsAdapter(boolean needsAdapter)(Code)
if needs an adapter.



setVarInfo
void setVarInfo(VariableInfo[] varInfo)(Code)



size
public int size()(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.