|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Tag
The Tag implementation works like a JSP Tag but generate SAX output instead of writing to a OutputStream. The equivalent to the JSPEngine is implemented as a Transformer.
TagTransformer
Field Summary | |
---|---|
static int |
EVAL_BODY
Evaluate body content Valid return value for doStartTag. |
static int |
EVAL_PAGE
Continue evaluating the page. |
static String |
ROLE
|
static int |
SKIP_BODY
Skip body evaluation. |
Method Summary | |
---|---|
int |
doEndTag(String namespaceURI,
String localName,
String qName)
Process the end tag for this instance. |
int |
doStartTag(String namespaceURI,
String localName,
String qName,
Attributes atts)
Process the start tag for this instance. |
Tag |
getParent()
Get the parent (closest enclosing tag handler) for this tag handler. |
void |
setParent(Tag parent)
Set the parent (closest enclosing tag handler) of this tag handler. |
void |
setup(SourceResolver resolver,
Map objectModel,
Parameters parameters)
Set the SourceResolver , objectModel Map
and sitemap Parameters used to process the request. |
Field Detail |
---|
static final String ROLE
static final int EVAL_BODY
static final int SKIP_BODY
static final int EVAL_PAGE
Method Detail |
---|
int doEndTag(String namespaceURI, String localName, String qName) throws SAXException
SAXException
int doStartTag(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
The doStartTag method assumes that parent have been set. It also assumes that any properties exposed as attributes have been set too. When this method is invoked, the body has not yet been evaluated.
SAXException
Tag getParent()
void setup(SourceResolver resolver, Map objectModel, Parameters parameters) throws SAXException, IOException
SourceResolver
, objectModel Map
and sitemap Parameters
used to process the request.
SAXException
IOException
void setParent(Tag parent)
parent
- The parent tag or null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |