|
SimpleTagCaller
com.roxen.roxen
|
Field Summary | |
static int |
FLAG_DEBUG
Write a lot of debug during the execution of the tag, showing what type conversions are done, what callbacks are being called etc. |
static int |
FLAG_DONT_PREPARSE
Don't preparse the content with the PHtml parser. |
static int |
FLAG_EMPTY_ELEMENT
If set, the tag doesn't accept content. |
static int |
FLAG_NO_PREFIX
Never apply any prefix to this tag. |
static int |
FLAG_NONE
The no-flags flag. |
static int |
FLAG_POSTPARSE
Postparse the result with the PHtml parser. |
static int |
FLAG_PROC_INSTR
A processing instruction tag ( syntax). |
static int |
FLAG_STREAM
The same as specifying both FLAG_STREAM_RESULT and FLAG_STREAM_CONTENT |
static int |
FLAG_STREAM_CONTENT
If set, the tag supports getting its content in streaming mode: tagCalled will be called repeatedly with successive parts of the content then. |
static int |
FLAG_STREAM_RESULT
If set, the tagCalled method will be called repeatedly until it returns null or no more content is wanted. |
Method Summary | |
int |
queryTagFlags()
Return the mode flags for the tag handled by this caller object |
java.lang.String |
queryTagName()
Return the name of the tag handled by this caller object |
java.lang.String |
tagCalled(java.lang.String tag,
java.util.Map args,
java.lang.String contents,
RoxenRequest id,
Frame frame)
Handle a call to the tag handled by this caller object |
Field Detail |
Note: It might be obvious, but using streaming is significantly less effective than nonstreaming, so it should only be done when big delays are expected.
Method Detail |
tag
- the name of the tagargs
- any attributes given to the tagcontents
- the contents of the tagid
- the request objectframe
- the parse frame