net.sourceforge.xwing.jelly.tags.xwing
Class NodeSetTag

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended bynet.sourceforge.xwing.jelly.tags.xwing.NodeSetTag
All Implemented Interfaces:
ListModel, Tag
Direct Known Subclasses:
ColScriptTag, RowScriptTag

public class NodeSetTag
extends TagSupport
implements ListModel


Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
NodeSetTag(String nodeStr, String nodeSetStr)
           
 
Method Summary
 void addListDataListener(ListDataListener l)
           
 void doTag(XMLOutput output)
           
 Object getElementAt(int index)
           
 int getSize()
           
 void removeListDataListener(ListDataListener l)
           
 void runScript()
           
 void setActive(boolean active)
           
 void setNode(Node node)
           
 void setNodeVar(String nodeVar)
           
 void setVar(String var)
           
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeSetTag

public NodeSetTag(String nodeStr,
                  String nodeSetStr)
Method Detail

setNode

public void setNode(Node node)
             throws Exception
Throws:
Exception

setNodeVar

public void setNodeVar(String nodeVar)

setVar

public void setVar(String var)

setActive

public void setActive(boolean active)

doTag

public void doTag(XMLOutput output)
           throws MissingAttributeException,
                  JellyTagException
Specified by:
doTag in interface Tag
Throws:
MissingAttributeException
JellyTagException

runScript

public void runScript()
               throws JellyTagException
Throws:
JellyTagException

getSize

public int getSize()
Specified by:
getSize in interface ListModel

getElementAt

public Object getElementAt(int index)
Specified by:
getElementAt in interface ListModel

addListDataListener

public void addListDataListener(ListDataListener l)
Specified by:
addListDataListener in interface ListModel

removeListDataListener

public void removeListDataListener(ListDataListener l)
Specified by:
removeListDataListener in interface ListModel


Copyright © 2003 The Xwing Project. All Rights Reserved.