org.apache.taglibs.rdc
Class GetConfigElemTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by org.apache.taglibs.rdc.GetConfigElemTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class GetConfigElemTag
extends javax.servlet.jsp.tagext.SimpleTagSupport

This tag is used to retrieve an element from the config.

Author:
Rahul Akolkar

Constructor Summary
GetConfigElemTag()
           
 
Method Summary
 void doTag()
          Get the element specified by the locator and render to JspWriter
 void setLocator(java.lang.String locator)
          Set the locator value.
 void setXml(org.w3c.dom.Document xml)
          Set the xml value.
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetConfigElemTag

public GetConfigElemTag()
Method Detail

setXml

public final void setXml(org.w3c.dom.Document xml)
Set the xml value.

Parameters:
xml - The parsed config document

setLocator

public final void setLocator(java.lang.String locator)
Set the locator value.

Parameters:
locator - The XPath expression

doTag

public void doTag()
           throws java.io.IOException,
                  javax.servlet.jsp.JspException
Get the element specified by the locator and render to JspWriter

Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
Throws:
java.io.IOException
javax.servlet.jsp.JspException


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.