public class SnarfTemplate extends Template
[prepend].snarf
.
All snarf'ed content is deleted.
Properties:
prepend
debug
Constructor and Description |
---|
SnarfTemplate() |
Modifier and Type | Method and Description |
---|---|
boolean |
init(RewriteContext hr)
Get the debug flag and reset page.
|
void |
tag_slash_snarf(RewriteContext hr)
Save the content gathered so far.
|
void |
tag_snarf(RewriteContext hr)
Mark the current location in the document.
|
public boolean init(RewriteContext hr)
init
in interface TemplateInterface
init
in class Template
public void tag_snarf(RewriteContext hr)
public void tag_slash_snarf(RewriteContext hr)