public class NoImageTemplate extends Template
template
Constructor and Description |
---|
NoImageTemplate() |
Modifier and Type | Method and Description |
---|---|
boolean |
init(RewriteContext hr)
Save a reference to our request properties
We'll use it some day to tailor the image display
|
void |
tag_img(RewriteContext hr)
Convert the html tag img into text using the alt string
|
public boolean init(RewriteContext hr)
init
in interface TemplateInterface
init
in class Template
public void tag_img(RewriteContext hr)
h
- The name/value pairs
src=
alt=<...>