|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.gui.jspbeans.JSPAbstractContainer
Provides a base class to develop customized JSPBeans to use in JSP pages and generate HTML content Containers group JSPBeans and control simple design time errors
Field Summary | |
protected java.util.Hashtable |
_properties
|
static java.lang.String |
GET
|
static java.lang.String |
NULL
|
static java.lang.String |
POST
|
static java.lang.String |
SELF
|
static java.lang.String |
TOP
|
Constructor Summary | |
JSPAbstractContainer()
JSPAbstractContainer constructor In this constructor all "EXISTING" properties must be created |
|
JSPAbstractContainer(JspContextServices anInterface,
java.lang.String aDataName)
JSPAbstractContainer constructor |
Method Summary | |
void |
add(JSPComponent aComponent)
Adds a component |
protected JSPComponent |
elementAt(int index)
Returns an element from the list of components. |
java.util.Vector |
getComponents()
Gets all the components in this container. |
java.lang.String |
getDataName()
Returns the DataName associated to the bean |
java.util.Vector |
getErrorList()
Returns the list of errors associated to this bean as a Vector of String's |
JspContextServices |
getInterface()
Returns the value associated to the key that is passed as an argument. |
java.lang.Object |
getProperty(java.lang.String aPropertyName)
Returns the value associated to the key that is passed as an argument. |
void |
inherit(JSPContainer aContainer)
Checks the list of properties of this instance which are inheritable and if they are not set take them from the container. |
void |
putError(java.lang.String anErrorMessage)
Adds an error message to the error list of the bean |
java.lang.String |
renderComponents()
Calls all the renderers of the child of this container and retrieves their errors |
void |
setDataName(java.lang.String aName)
Sets the value of the dataname associated to the bean |
void |
setInterface(JspContextServices aJSPContextServices)
Sets the object that implements a JspContextServices used to access the operation's context |
void |
setProperty(java.lang.String aPropertyName,
java.lang.Object aPropertyValue)
Associates a value to a given key: Property names are case-sensitive |
protected int |
size()
Returns the number of JSPBeans this container contains |
abstract java.lang.String |
toHTMLString()
The renderer of the JSPBean |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected java.util.Hashtable _properties
public static final java.lang.String GET
public static final java.lang.String POST
public static final java.lang.String SELF
public static final java.lang.String TOP
public static final java.lang.String NULL
Constructor Detail |
public JSPAbstractContainer()
public JSPAbstractContainer(JspContextServices anInterface, java.lang.String aDataName)
anInterface
- com.ibm.dse.cs.html.JspContextServicesaDataName
- java.lang.StringMethod Detail |
public void add(JSPComponent aComponent)
aComponent
- com.ibm.JSPBeans.JSPComponentprotected JSPComponent elementAt(int index)
public java.util.Vector getComponents()
public java.lang.String getDataName()
public java.util.Vector getErrorList()
public JspContextServices getInterface()
public java.lang.Object getProperty(java.lang.String aPropertyName)
aPropertyName
- java.lang.Stringpublic void inherit(JSPContainer aContainer)
aContainer
- com.ibm.dse.JSPBeans.JSPContainerpublic void putError(java.lang.String anErrorMessage)
anErrorMessage
- java.lang.Stringpublic java.lang.String renderComponents()
public void setDataName(java.lang.String aName)
aName
- java.lang.Stringpublic void setInterface(JspContextServices aJSPContextServices)
aJSPContextServices
- com.ibm.dse.cs.html.JspContextServicespublic void setProperty(java.lang.String aPropertyName, java.lang.Object aPropertyValue)
aPropertyName
- java.lang.StringaPropertyValue
- java.lang.Stringprotected int size()
public abstract java.lang.String toHTMLString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |