org.apache.commons.jelly.tags.define
Class ClassLoaderTag

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.apache.commons.jelly.tags.define.DefineTagSupport
              |
              +--org.apache.commons.jelly.tags.define.BeanTag
                    |
                    +--org.apache.commons.jelly.tags.define.ClassLoaderTag
All Implemented Interfaces:
Tag

public class ClassLoaderTag
extends BeanTag

Creates a new URLClassLoader to dynamically load tags froms.

Version:
$Revision: 1.1 $
Author:
Stephen Haberman

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
ClassLoaderTag()
           
 
Method Summary
 void doTag(XMLOutput output)
          Evaluates this tag after all the tags properties have been initialized.
 java.lang.String getUrl()
           
 java.lang.String getVar()
           
 void setUrl(java.lang.String url)
           
 void setVar(java.lang.String var)
           
 
Methods inherited from class org.apache.commons.jelly.tags.define.BeanTag
addAttribute, getClassLoader, getInvokeMethod, setClassLoader, setClassName, setName, setVarAttribute
 
Methods inherited from class org.apache.commons.jelly.tags.define.DefineTagSupport
getTagLibrary
 
Methods inherited from class org.apache.commons.jelly.TagSupport
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

ClassLoaderTag

public ClassLoaderTag()
Method Detail

getVar

public java.lang.String getVar()
Returns:
the variable to store the class loader in

setVar

public void setVar(java.lang.String var)
Parameters:
var - the variable to store the class loader in

getUrl

public java.lang.String getUrl()
Returns:
the url to load the classes from

setUrl

public void setUrl(java.lang.String url)
Parameters:
url - the url to load the classes from

doTag

public void doTag(XMLOutput output)
           throws java.lang.Exception
Description copied from interface: Tag
Evaluates this tag after all the tags properties have been initialized.
Overrides:
doTag in class BeanTag


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