org.apache.taglibs.rdc
Class GetDefaultConfigTag

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

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

This tag is used to retrieve the default config for a component from a jar file, parse it with validation, and set the component's BaseModel's configuration.

Author:
Rahul Akolkar

Constructor Summary
GetDefaultConfigTag()
           
 
Method Summary
 void doTag()
           
 BaseModel getModel()
          Get the BaseModel value.
 java.lang.String getName()
          Get the Name value.
 void setModel(BaseModel model)
          Set the BaseModel value.
 void setName(java.lang.String newName)
          Set the Name 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

GetDefaultConfigTag

public GetDefaultConfigTag()
Method Detail

getName

public final java.lang.String getName()
Get the Name value.

Returns:
a String value

setName

public final void setName(java.lang.String newName)
Set the Name value.

Parameters:
newName - The new Name value.

getModel

public final BaseModel getModel()
Get the BaseModel value.

Returns:
a BaseModel value

setModel

public final void setModel(BaseModel model)
Set the BaseModel value.

Parameters:
model - The new model value.

doTag

public void doTag()
           throws java.io.IOException,
                  javax.servlet.jsp.JspException
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.