|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jet.taglib.AbstractCustomTag
public abstract class AbstractCustomTag
An abstract base class for all implementations of CustomTag.
| Constructor Summary | |
|---|---|
AbstractCustomTag()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAttribute(java.lang.String name)
Return the processed value of the tag attribute (with dynamic XPath expressions already resolved. |
JET2Writer |
getOut()
Return the writer to which the tag will write. |
CustomTag |
getParent()
Return the parent tag. |
java.lang.String |
getRawAttribute(java.lang.String name)
Return the 'raw' value of the named tag attribute. |
void |
setContext(JET2Context context)
Set the context of the tag. |
void |
setOut(JET2Writer out)
Set the writer to which the tag will write. |
void |
setParent(CustomTag parent)
Set the custom tag representing the parent of this tag. |
void |
setTagInfo(TagInfo td)
Set the tag info for the tag. |
| 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.CustomTag |
|---|
getKind |
| Constructor Detail |
|---|
public AbstractCustomTag()
| Method Detail |
|---|
public final CustomTag getParent()
CustomTag
getParent in interface CustomTagnull if the tag has none.CustomTag.getParent()public final void setParent(CustomTag parent)
CustomTag
setParent in interface CustomTagparent - the parent tag, or null if the tag has none.CustomTag.setParent(org.eclipse.jet.taglib.CustomTag)public final void setContext(JET2Context context)
CustomTag
setContext in interface CustomTagcontext - the context.public final void setTagInfo(TagInfo td)
CustomTag
setTagInfo in interface CustomTagtd - the tag info.public final java.lang.String getRawAttribute(java.lang.String name)
CustomTag
getRawAttribute in interface CustomTagname - the tag attribute name.
null if the attribute is not defined.
public final java.lang.String getAttribute(java.lang.String name)
throws JET2TagException
CustomTag
getAttribute in interface CustomTagname - the tag attribute name.
null if the attribute is not defined.
JET2TagException - if an error occurs while processing a dynmaic XPath expression.public final void setOut(JET2Writer out)
CustomTag
setOut in interface CustomTagout - a non-null instance of JET2Writer.public final JET2Writer getOut()
CustomTag
getOut in interface CustomTag
|
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 | |||||||||