Java Doc for InternalValue.java in  » Web-Framework » rife-1.6.1 » com » uwyn » rife » template » 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 » rife 1.6.1 » com.uwyn.rife.template 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.uwyn.rife.template.InternalValue

InternalValue
public class InternalValue (Code)
An anonymous value inside a template, which is not referenced anywhere in the template, but can be used to produce intermediate strings using the template engine. To obtain an InternalValue, you should use Template.createInternalValue .
author:
   Keith Lea <keith[remove] at cs dot oswego dot edu>
author:
   Geert Bevin (gbevin[remove] at uwyn dot com)
version:
   $Revision: 3634 $
since:
   1.0



Constructor Summary
 InternalValue(AbstractTemplate template)
    
 InternalValue(AbstractTemplate template, List<CharSequence> deferredContent)
    

Method Summary
public  voidappendBlock(String blockId)
     Appends the content of a block to this value.
 voidappendConstructedValue(InternalValue constructedValue)
    
 voidappendExternalForm(ExternalValue result)
    
 voidappendText(CharSequence text)
    
public  voidappendValue(InternalValue value)
     Appends to this value the value of the given internal value.
public  voidappendValue(Object value)
     Appends the result of calling String.valueOf(Object)String.valueOf on the given value to this value in this template.
public  voidappendValue(boolean value)
     Appends "true" or "false" to this value, depending on the given value.
public  voidappendValue(char value)
     Appends the single specified character to this value.
public  voidappendValue(char[] value)
     Appends the given characters to this value.
public  voidappendValue(char[] value, int offset, int count)
     Appends the specified range of the given character string to this value.
public  voidappendValue(double value)
     Appends the given double precision floating point value to this value. This method uses the method to print the given value, which probably prints more digits than you like.
public  voidappendValue(float value)
     Appends the given floating point value to this value.
public  voidappendValue(int value)
     Appends the given integer to this value.
public  voidappendValue(long value)
     Appends the given long to this value.
public  voidappendValue(String value)
     Appends the given string to this value.
public  voidappendValue(CharSequence value)
     Appends the given character sequence to this value.
 voidappendValueId(String id, String tag)
    
public  voidclear()
     Removes all content from this value.
public  booleanequals(Object object)
    
 voidincreasePartsCapacity(int size)
    
 voidincreaseValuesCapacity(int size)
    
public  booleanisEmpty()
     Returns whether this value contains no cnotent.
 intpartsSize()
    
 intvaluesSize()
    


Constructor Detail
InternalValue
InternalValue(AbstractTemplate template)(Code)



InternalValue
InternalValue(AbstractTemplate template, List<CharSequence> deferredContent)(Code)




Method Detail
appendBlock
public void appendBlock(String blockId) throws TemplateException(Code)
Appends the content of a block to this value. The values used by the block will be captured when this method is called, so any future changes to template values will not affect text which was appended when this method is called.
Parameters:
  blockId - the ID of the block whose value should be appended tothe specified value
exception:
  TemplateException - if the specified block does not exist inthe corresponding template
since:
   1.0



appendConstructedValue
void appendConstructedValue(InternalValue constructedValue)(Code)



appendExternalForm
void appendExternalForm(ExternalValue result)(Code)



appendText
void appendText(CharSequence text)(Code)



appendValue
public void appendValue(InternalValue value)(Code)
Appends to this value the value of the given internal value.
Parameters:
  value - an internal value
since:
   1.0



appendValue
public void appendValue(Object value)(Code)
Appends the result of calling String.valueOf(Object)String.valueOf on the given value to this value in this template.
Parameters:
  value - an object
since:
   1.0



appendValue
public void appendValue(boolean value)(Code)
Appends "true" or "false" to this value, depending on the given value.
Parameters:
  value - a boolean value
since:
   1.0



appendValue
public void appendValue(char value)(Code)
Appends the single specified character to this value.
Parameters:
  value - a character
since:
   1.0



appendValue
public void appendValue(char[] value)(Code)
Appends the given characters to this value.
Parameters:
  value - a string of characters
since:
   1.0



appendValue
public void appendValue(char[] value, int offset, int count)(Code)
Appends the specified range of the given character string to this value. The specified number of bytes from value will be used, starting at the character specified by offset.
Parameters:
  value - a character string
Parameters:
  offset - the index in value of the first character touse
Parameters:
  count - the number of characters to use
since:
   1.0



appendValue
public void appendValue(double value)(Code)
Appends the given double precision floating point value to this value. This method uses the method to print the given value, which probably prints more digits than you like. You probably want String.format String.format or NumberFormat instead.
Parameters:
  value - a floating point value
since:
   1.0



appendValue
public void appendValue(float value)(Code)
Appends the given floating point value to this value. This method uses the method to print the given value, which probably prints more digits than you like. You probably want String.format String.format or NumberFormat instead.
Parameters:
  value - a floating point value
since:
   1.0



appendValue
public void appendValue(int value)(Code)
Appends the given integer to this value.
Parameters:
  value - an integer
since:
   1.0



appendValue
public void appendValue(long value)(Code)
Appends the given long to this value.
Parameters:
  value - a long
since:
   1.0



appendValue
public void appendValue(String value)(Code)
Appends the given string to this value. The given string cannot be null.
Parameters:
  value - a string
since:
   1.0



appendValue
public void appendValue(CharSequence value)(Code)
Appends the given character sequence to this value. The given character sequence cannot be null.
Parameters:
  value - a character sequence
since:
   1.5



appendValueId
void appendValueId(String id, String tag)(Code)



clear
public void clear()(Code)
Removes all content from this value.



equals
public boolean equals(Object object)(Code)



increasePartsCapacity
void increasePartsCapacity(int size)(Code)



increaseValuesCapacity
void increaseValuesCapacity(int size)(Code)



isEmpty
public boolean isEmpty()(Code)
Returns whether this value contains no cnotent. This method will return false for newly created values as well as values for whom InternalValue.clear has just been called. whether this value has no contents
since:
   1.0



partsSize
int partsSize()(Code)



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