Java Doc for PaintTarget.java in  » Web-Framework » Millstone » org » millstone » base » terminal » 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 » Web Framework » Millstone » org.millstone.base.terminal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.millstone.base.terminal.PaintTarget

All known Subclasses:   org.millstone.webadapter.WebPaintTarget,
PaintTarget
public interface PaintTarget (Code)
This interface defines the methods for painting XML to the UIDL stream.
author:
   IT Mill Ltd.
version:
   3.1.1
since:
   3.0




Method Summary
public  voidaddAttribute(String name, boolean value)
     Adds a boolean attribute to component.
public  voidaddAttribute(String name, int value)
     Adds a integer attribute to component.
public  voidaddAttribute(String name, Resource value)
     Adds a resource attribute to component.
public  voidaddAttribute(String name, long value)
     Adds a long attribute to component.
public  voidaddAttribute(String name, String value)
     Adds a string attribute to component.
 voidaddCharacterData(String text)
     Add CDATA node to target UIDL-tree.
public  voidaddSection(String sectionTagName, String sectionData)
     Print single XMLsection. Prints full XML section.
 voidaddText(String text)
     Add text node.
public  voidaddUIDL(java.lang.String uidl)
     Add UIDL directly.
public  voidaddUploadStreamVariable(VariableOwner owner, String name)
     Add a upload stream type variable.
public  voidaddVariable(VariableOwner owner, String name, String value)
     Add a string type variable.
public  voidaddVariable(VariableOwner owner, String name, int value)
     Add a int type variable.
public  voidaddVariable(VariableOwner owner, String name, boolean value)
     Add a boolean type variable.
public  voidaddVariable(VariableOwner owner, String name, String[] value)
     Add a string array type variable.
public  voidaddXMLSection(String sectionTagName, String sectionData, String namespace)
     Print single XML section. Prints full XML section.
public  voidendTag(String tagName)
     Print element end tag.
public  booleanstartTag(Paintable paintable, String tag)
     Print element start tag of a paintable section. Starts a paintable section using the given tag.
public  voidstartTag(String tagName)
     Print element start tag.



Method Detail
addAttribute
public void addAttribute(String name, boolean value) throws PaintException(Code)
Adds a boolean attribute to component. Atributes must be added before any content is written.
Parameters:
  name - Attribute name
Parameters:
  value - Attribute value this object



addAttribute
public void addAttribute(String name, int value) throws PaintException(Code)
Adds a integer attribute to component. Atributes must be added before any content is written.
Parameters:
  name - Attribute name
Parameters:
  value - Attribute value this object



addAttribute
public void addAttribute(String name, Resource value) throws PaintException(Code)
Adds a resource attribute to component. Atributes must be added before any content is written.
Parameters:
  name - Attribute name
Parameters:
  value - Attribute value this object



addAttribute
public void addAttribute(String name, long value) throws PaintException(Code)
Adds a long attribute to component. Atributes must be added before any content is written.
Parameters:
  name - Attribute name
Parameters:
  value - Attribute value this object



addAttribute
public void addAttribute(String name, String value) throws PaintException(Code)
Adds a string attribute to component. Atributes must be added before any content is written.
Parameters:
  name - Boolean attribute name
Parameters:
  value - Boolean attribute value this object



addCharacterData
void addCharacterData(String text) throws PaintException(Code)
Add CDATA node to target UIDL-tree.
Parameters:
  text - Character data to add
since:
   3.1



addSection
public void addSection(String sectionTagName, String sectionData) throws PaintException(Code)
Print single XMLsection. Prints full XML section. The section data is escaped from XML tags and surrounded by XML start and end-tags.



addText
void addText(String text) throws PaintException(Code)
Add text node. All the contents of the text are XML-escaped.
Parameters:
  text - Text to add



addUIDL
public void addUIDL(java.lang.String uidl) throws PaintException(Code)
Add UIDL directly. The UIDL must be valid in accordance with the UIDL.dtd



addUploadStreamVariable
public void addUploadStreamVariable(VariableOwner owner, String name) throws PaintException(Code)
Add a upload stream type variable.
Parameters:
  owner - Listener for variable changes
Parameters:
  name - Variable name
Parameters:
  value - Variable initial value Reference to this.



addVariable
public void addVariable(VariableOwner owner, String name, String value) throws PaintException(Code)
Add a string type variable.
Parameters:
  owner - Listener for variable changes
Parameters:
  name - Variable name
Parameters:
  value - Variable initial value Reference to this.



addVariable
public void addVariable(VariableOwner owner, String name, int value) throws PaintException(Code)
Add a int type variable.
Parameters:
  owner - Listener for variable changes
Parameters:
  name - Variable name
Parameters:
  value - Variable initial value Reference to this.



addVariable
public void addVariable(VariableOwner owner, String name, boolean value) throws PaintException(Code)
Add a boolean type variable.
Parameters:
  owner - Listener for variable changes
Parameters:
  name - Variable name
Parameters:
  value - Variable initial value Reference to this.



addVariable
public void addVariable(VariableOwner owner, String name, String[] value) throws PaintException(Code)
Add a string array type variable.
Parameters:
  owner - Listener for variable changes
Parameters:
  name - Variable name
Parameters:
  value - Variable initial value Reference to this.



addXMLSection
public void addXMLSection(String sectionTagName, String sectionData, String namespace) throws PaintException(Code)
Print single XML section. Prints full XML section. The section data must be XML and it is surrounded by XML start and end-tags.



endTag
public void endTag(String tagName) throws PaintException(Code)
Print element end tag. If the parent tag is closed before every child tag is closed an MillstoneException is raised.
Parameters:
  tag - The name of the end tag
exception:
  IOException - The writing failed due to input/output error



startTag
public boolean startTag(Paintable paintable, String tag) throws PaintException(Code)
Print element start tag of a paintable section. Starts a paintable section using the given tag. The PaintTarget may implement a caching scheme, that checks the paintable has actually changed or can a cached version be used instead. This method should call the startTag method. If the Paintable is found in cache and this function returns true it may omit the content and close the tag, in which case cached content should be used.
Parameters:
  paintable - The paintable to start
Parameters:
  tagName - The name of the start tag true if paintable found in cache, false otherwise.
See Also:   PaintTarget.startTag(String)
since:
   3.1



startTag
public void startTag(String tagName) throws PaintException(Code)
Print element start tag.
Todo:
 Checking of input values
 

Parameters:
  tagName - The name of the start tag



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