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

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.tags.define.DefineTagSupport
          extended byorg.apache.commons.jelly.tags.define.BeanTag
              extended byorg.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: 155420 $
Author:
Stephen Haberman

Field Summary
 
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
Specified by:
doTag in interface org.apache.commons.jelly.Tag
Overrides:
doTag in class BeanTag
Throws:
org.apache.commons.jelly.MissingAttributeException
org.apache.commons.jelly.JellyTagException


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