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:
org.apache.commons.jelly.Tag

public class ClassLoaderTag
extends BeanTag

Creates a new URLClassLoader to dynamically load tags froms.

Version:
$Revision: 1.6 $
Author:
Stephen Haberman

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
ClassLoaderTag()
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 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, 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
 

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(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.MissingAttributeException,
                  org.apache.commons.jelly.JellyTagException
Overrides:
doTag in class BeanTag


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