Java Doc for Html.java in  » Library » Apache-beehive-1.0.2-src » org » apache » beehive » netui » tags » html » 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 » Library » Apache beehive 1.0.2 src » org.apache.beehive.netui.tags.html 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.beehive.netui.tags.javascript.ScriptContainer
   org.apache.beehive.netui.tags.html.Html

Html
public class Html extends ScriptContainer implements IErrorReporter,IDocumentTypeProducer(Code)
Generates the html element and performs error handling within its body.


Field Summary
final public static  StringDOC_TYPE_OVERRIDE
    
final public static  StringHTML_401
    
final public static  StringHTML_401_QUIRKS
    
final public static  StringHTML_TAG_ID
     The HTML tag is registered into the request with this name.
final public static  StringXHTML_10
     Constant representing the document type XHTML 1.0 Transitional.


Method Summary
public  voidaddError(AbstractPageError ape)
     Add an error to the errors being reported by this tag.
protected  LocalecurrentLocale()
     Return the current Locale for this request, creating a new one if necessary.
public  intdoEndTag()
     Write out the body content and report any errors that occured.
public  intdoStartTag()
    
public  voidendScope(WriteRenderAppender _writer)
     This will close the HTML div associated with the idScope.
public  StringgetTagName()
     Returns the name of the Tag.
public  intgetTargetDocumentType()
     This method will return the TagRenderBase enum value for the document type.
public  booleanisReporting()
     This boolean indicates if an ErrorReporter is reporting errors or not.
public  booleanisUseLocale()
     Gets whether the default locale's language should be used.
protected  voidlocalRelease()
     Release any acquired resources.
public  ArrayListreturnErrors()
    
public  voidsetDir(String dir)
     Sets the dir value of the html.
public  voidsetDocumentType(String docType)
     Set the document type (html4-loose or xhtml1-transitional) of the document.
public  voidsetUseLocale(boolean locale)
     Sets whether the default locale's language should be used.

Field Detail
DOC_TYPE_OVERRIDE
final public static String DOC_TYPE_OVERRIDE(Code)
This is an override of the Document type set in the request



HTML_401
final public static String HTML_401(Code)
Constant representing the document type html 4.01



HTML_401_QUIRKS
final public static String HTML_401_QUIRKS(Code)
Constant representing the document type html 4.01



HTML_TAG_ID
final public static String HTML_TAG_ID(Code)
The HTML tag is registered into the request with this name. This allows tags reporting errors to find the top level ErrorReporter.



XHTML_10
final public static String XHTML_10(Code)
Constant representing the document type XHTML 1.0 Transitional.





Method Detail
addError
public void addError(AbstractPageError ape)(Code)
Add an error to the errors being reported by this tag.
Parameters:
  ape - The AbstractPageError to add



currentLocale
protected Locale currentLocale()(Code)
Return the current Locale for this request, creating a new one if necessary. If there is no current Locale, and locale support is not requested, return null.



doEndTag
public int doEndTag() throws JspException(Code)
Write out the body content and report any errors that occured.
throws:
  JspException - if a JSP exception has occurred



doStartTag
public int doStartTag() throws JspException(Code)



endScope
public void endScope(WriteRenderAppender _writer)(Code)
This will close the HTML div associated with the idScope. This may be called by the Body tag so the div ends before the body ends.
Parameters:
  _writer - a writer to write the close tag into



getTagName
public String getTagName()(Code)
Returns the name of the Tag.



getTargetDocumentType
public int getTargetDocumentType()(Code)
This method will return the TagRenderBase enum value for the document type. The default value is HTML 4.01. int



isReporting
public boolean isReporting()(Code)
This boolean indicates if an ErrorReporter is reporting errors or not. The caller should check this before calling addError because the ErrorReporter may be off for some reason. a boolean indicating if the tag is reporting errors or not.



isUseLocale
public boolean isUseLocale()(Code)
Gets whether the default locale's language should be used. true or false



localRelease
protected void localRelease()(Code)
Release any acquired resources.



returnErrors
public ArrayList returnErrors()(Code)
Return an ArrayList of the errors an ArrayList of all errors.



setDir
public void setDir(String dir)(Code)
Sets the dir value of the html.
Parameters:
  dir - the direction of text, "LTR" or "RTL"



setDocumentType
public void setDocumentType(String docType)(Code)
Set the document type (html4-loose or xhtml1-transitional) of the document.



setUseLocale
public void setUseLocale(boolean locale)(Code)
Sets whether the default locale's language should be used.
Parameters:
  locale - true or false



Fields inherited from org.apache.beehive.netui.tags.javascript.ScriptContainer
final public static String SCOPE_ID(Code)(Java Doc)

Methods inherited from org.apache.beehive.netui.tags.javascript.ScriptContainer
public void addLegacyTagIdMappings(String tagId, String tagName)(Code)(Java Doc)
public void addScriptFunction(ScriptPlacement placement, String script)(Code)(Java Doc)
public void addTagIdMappings(String tagId, String realId, String realName)(Code)(Java Doc)
public int doEndTag() throws JspException(Code)(Java Doc)
public int doStartTag() throws JspException(Code)(Java Doc)
public String getIdScope()(Code)(Java Doc)
protected String getRealIdScope()(Code)(Java Doc)
public String getTagName()(Code)(Java Doc)
protected void localRelease()(Code)(Java Doc)
protected void popIdScope()(Code)(Java Doc)
protected void pushIdScope()(Code)(Java Doc)
public void setGenerateIdScope(boolean genScopeValue)(Code)(Java Doc)
public void setIdScope(String idScope)(Code)(Java Doc)
protected void writeAfterBlocks(AbstractRenderAppender sb)(Code)(Java Doc)
protected void writeBeforeBlocks(AbstractRenderAppender sb)(Code)(Java Doc)
protected void writeFrameworkScript(AbstractRenderAppender sb)(Code)(Java Doc)
public void writeScript(AbstractRenderAppender sb)(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.