|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.define.TaglibTag
public class TaglibTag
The <taglib> tag is used to define a new tag library
using a Jelly script. The tag library is identified by its
URI
.
The tags for a taglib are declared using the TagTag
.
You can 'inherit' tags from a previously defined taglib, as well,
allowing runtime extension of tag libraries
Field Summary | |
---|---|
private boolean |
inherit
Whether or not inheritence is enabled |
private org.apache.commons.jelly.impl.DynamicTagLibrary |
tagLibrary
The new tags being added |
private java.lang.String |
uri
The namespace URI |
Fields inherited from class org.apache.commons.jelly.TagSupport |
---|
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
---|---|
TaglibTag()
|
|
TaglibTag(java.lang.String uri)
|
Method Summary | |
---|---|
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
org.apache.commons.jelly.impl.DynamicTagLibrary |
getTagLibrary()
|
java.lang.String |
getUri()
|
boolean |
isInherit()
Returns the inherit. |
void |
setInherit(boolean inherit)
Sets whether this dynamic tag should inherit from the current existing tag library of the same URI. |
void |
setUri(java.lang.String uri)
Sets the namespace URI to register this new dynamic tag library with |
Methods inherited from class org.apache.commons.jelly.TagSupport |
---|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String uri
private org.apache.commons.jelly.impl.DynamicTagLibrary tagLibrary
private boolean inherit
Constructor Detail |
---|
public TaglibTag()
public TaglibTag(java.lang.String uri)
Method Detail |
---|
public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
public java.lang.String getUri()
public void setUri(java.lang.String uri)
public org.apache.commons.jelly.impl.DynamicTagLibrary getTagLibrary()
public boolean isInherit()
public void setInherit(boolean inherit)
inherit
- The inherit to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |