org.apache.beehive.netui.compiler.model
Class StrutsElementSupport

Object
  extended by StrutsElementSupport
Direct Known Subclasses:
ActionModel, ExceptionModel, FormBeanModel, ForwardModel, MessageResourcesModel, StrutsApp

public abstract class StrutsElementSupport
extends Object

Defines general support for elements that


Constructor Summary
StrutsElementSupport(StrutsApp parentApp)
           
 
Method Summary
protected  void addComment(XmlObject xb)
           
static String getAttr(Node node, String name)
           
static boolean getAttrBool(Node node, String name)
           
 String getClassName()
           
 String getComment()
           
 String getDescription()
           
 String getDisplayName()
           
 StrutsElementSupport.Icon getIcon()
           
protected  StrutsApp getParentApp()
           
 String getProperty(String name)
           
 void setClassName(String className)
           
 void setComment(String comment)
           
 void setDescription(String description)
           
 void setDisplayName(String displayName)
           
 void setIcon(StrutsElementSupport.Icon icon)
           
protected  void setParentApp(StrutsApp parentApp)
           
 void setProperty(String name, String value)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrutsElementSupport

public StrutsElementSupport(StrutsApp parentApp)
Method Detail

getParentApp

protected StrutsApp getParentApp()

setDescription

public void setDescription(String description)

getDescription

public String getDescription()

setProperty

public void setProperty(String name,
                        String value)

getProperty

public String getProperty(String name)

setDisplayName

public void setDisplayName(String displayName)

getDisplayName

public String getDisplayName()

setIcon

public void setIcon(StrutsElementSupport.Icon icon)

getIcon

public StrutsElementSupport.Icon getIcon()

getClassName

public String getClassName()

setClassName

public void setClassName(String className)

setComment

public void setComment(String comment)

getComment

public String getComment()

getAttr

public static String getAttr(Node node,
                             String name)

getAttrBool

public static boolean getAttrBool(Node node,
                                  String name)

addComment

protected void addComment(XmlObject xb)

setParentApp

protected void setParentApp(StrutsApp parentApp)