| 
 |   | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  |
  +--sunlabs.brazil.template.Template
        |
        +--sunlabs.brazil.template.PropsTemplate
[Deprecated, use the the SetTemplate.]
 Template class for substituting request properties into an HTML page.
 This class is used by the TemplateHandler
 The following request properties are used:
 
url instead of the one in request.url. 
 
 A new HTML tag,  
 <property> is defined.  It takes the following 
 tag attributes:
 
props
		     to replace the property tag with.
 default is specified, the empty
		     string is used instead.
 
| Field Summary | 
| Fields inherited from class sunlabs.brazil.template.Template | 
| debug | 
| Constructor Summary | |
| PropsTemplate() | |
| Method Summary | |
|  boolean | init(RewriteContext hr)This gets called at every page, at the beginning. | 
|  void | tag_property(RewriteContext hr)Convert the html tag "property" in to the request's property | 
|  void | tag_slash_tag(RewriteContext hr)Insert a literal ">" | 
|  void | tag_tag(RewriteContext hr)Insert a literal "<". | 
| Methods inherited from class sunlabs.brazil.template.Template | 
| done | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public PropsTemplate()
| Method Detail | 
public boolean init(RewriteContext hr)
init in interface TemplateInterfaceinit in class Templatepublic void tag_property(RewriteContext hr)
public void tag_tag(RewriteContext hr)
<tag>a href=<property href></tag>
public void tag_slash_tag(RewriteContext hr)
| 
 | Version 2.1, Generated 12/30/04 Copyright (c) 2001-2004, Sun Microsystems. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||