|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jet.taglib.AbstractCustomTag
org.eclipse.jet.taglib.AbstractContainerTag
public abstract class AbstractContainerTag
An abstract implementation of ContainerTag
.
Constructor Summary | |
---|---|
AbstractContainerTag()
|
Method Summary | |
---|---|
void |
doAction(TagInfo td,
JET2Context context,
JET2Writer out)
Default implementation of EmptyTag.doAction(TagInfo, JET2Context, JET2Writer) that simply
calls ContainerTag.doBeforeBody(TagInfo, JET2Context, JET2Writer) and then
ContainerTag.doAfterBody(TagInfo, JET2Context, JET2Writer) . |
CustomTagKind |
getKind()
Return the kind of the custom tag |
void |
setBodyContent(JET2Writer bodyContent)
Default implementation of ContainerTag.setBodyContent(JET2Writer) that writes
body content to the tag's output. |
Methods inherited from class org.eclipse.jet.taglib.AbstractCustomTag |
---|
getAttribute, getOut, getParent, getRawAttribute, setContext, setOut, setParent, setTagInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jet.taglib.ContainerTag |
---|
doAfterBody, doBeforeBody |
Constructor Detail |
---|
public AbstractContainerTag()
Method Detail |
---|
public CustomTagKind getKind()
CustomTag
getKind
in interface CustomTag
CustomTagKind.CONTAINER
CustomTagKind
public void setBodyContent(JET2Writer bodyContent)
ContainerTag.setBodyContent(JET2Writer)
that writes
body content to the tag's output.
setBodyContent
in interface ContainerTag
public void doAction(TagInfo td, JET2Context context, JET2Writer out) throws JET2TagException
EmptyTag.doAction(TagInfo, JET2Context, JET2Writer)
that simply
calls ContainerTag.doBeforeBody(TagInfo, JET2Context, JET2Writer)
and then
ContainerTag.doAfterBody(TagInfo, JET2Context, JET2Writer)
.
This method (or subclassed versions) are only ever called if the tag is declared in the
extension point with the 'allowAsEmpty' set to true
.
doAction
in interface EmptyTag
td
- the tag information (attribute values, etc)context
- the JET2 execution contextout
- the current output writer.
JET2TagException
- if an error occurs
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |