org.apache.commons.jelly.impl
Class StaticTagScript

java.lang.Object
  |
  +--org.apache.commons.jelly.impl.TagScript
        |
        +--org.apache.commons.jelly.impl.DynaTagScript
              |
              +--org.apache.commons.jelly.impl.StaticTagScript
All Implemented Interfaces:
Script

public class StaticTagScript
extends DynaTagScript

StaticTagScript is a script that evaluates a StaticTag, a piece of static XML though its attributes or element content may contain dynamic expressions. The first time this tag evaluates, it may have become a dynamic tag, so it will check that a new dynamic tag has not been generated.

Version:
$Revision: 1.8 $
Author:
James Strachan

Fields inherited from class org.apache.commons.jelly.impl.TagScript
attributes, tag
 
Constructor Summary
StaticTagScript()
           
StaticTagScript(StaticTag tag)
           
 
Method Summary
protected  Tag findDynamicTag(JellyContext context, StaticTag tag)
          Attempts to find a dynamically created tag that has been created since this script was compiled
 void run(JellyContext context, XMLOutput output)
          Evaluates the body of a tag
 
Methods inherited from class org.apache.commons.jelly.impl.DynaTagScript
compile
 
Methods inherited from class org.apache.commons.jelly.impl.TagScript
addAttribute, convertType, createJellyException, createJellyException, endNamespacePrefixes, getColumnNumber, getElementName, getFileName, getLineNumber, getTag, handleException, handleException, newInstance, setColumnNumber, setElementName, setFileName, setLineNumber, setLocator, setNamespacesMap, setTag, startNamespacePrefixes, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StaticTagScript

public StaticTagScript()

StaticTagScript

public StaticTagScript(StaticTag tag)
Method Detail

run

public void run(JellyContext context,
                XMLOutput output)
         throws java.lang.Exception
Evaluates the body of a tag
Overrides:
run in class DynaTagScript

findDynamicTag

protected Tag findDynamicTag(JellyContext context,
                             StaticTag tag)
                      throws java.lang.Exception
Attempts to find a dynamically created tag that has been created since this script was compiled


Copyright © 2002-2002 Apache Software Foundation. All Rights Reserved.