|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.util.AbstractXmlObject
com.waveset.object.FormItem
Field Summary |
Fields inherited from class com.waveset.util.AbstractXmlObject |
_trace, code_id |
Constructor Summary | |
FormItem()
|
Method Summary | |
protected void |
addCommonAttributes(java.lang.StringBuffer b)
Should be called by all child classes of FormItem |
void |
addItem(FormItem item)
|
void |
addItem(int index,
FormItem item)
|
void |
addItems(java.util.List items)
Append a list of items. |
void |
clearItems()
|
java.lang.String |
getComments()
|
Form |
getForm()
|
protected java.util.List |
getItemList()
Implemented by subclasses, return a non-null List if it wishes to support sub-items. |
java.util.List |
getItems()
Form items may also have children. |
com.sun.idm.debugger.common.Location |
getLocation()
|
java.lang.String |
getName()
|
FormItem |
getParent()
|
void |
link(ExEnvironment env)
Form items may contain expressions, and at the moment expressions need to be "linked" into an ExEnvironment in order to resolve references to variables and functions. |
protected void |
parseChild(org.w3c.dom.Element child,
ExEnvironment env)
Parse a common child element that wasn't recognized by the subclass. |
protected void |
parseCommonAttributes(org.w3c.dom.Element e)
Should be called by all child classes of FormItem exception Expression |
void |
setComments(java.lang.String s)
|
void |
setItems(java.util.List items)
Set the list of items. |
void |
setLocation(com.sun.idm.debugger.common.Location l)
|
void |
setName(java.lang.String s)
|
void |
setParent(FormItem p)
|
protected void |
toXmlChildren(java.lang.StringBuffer b,
int indent)
|
Methods inherited from class com.waveset.util.AbstractXmlObject |
addXmlHeader, cloneObject, dump, dumpFile, getElementName, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml, toXml |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FormItem()
Method Detail |
public FormItem getParent()
public void setParent(FormItem p)
public java.lang.String getComments()
public void setComments(java.lang.String s)
public java.lang.String getName()
public void setName(java.lang.String s)
public void setLocation(com.sun.idm.debugger.common.Location l)
setLocation
in interface com.sun.idm.debugger.common.Locatable
public com.sun.idm.debugger.common.Location getLocation()
getLocation
in interface com.sun.idm.debugger.common.Locatable
public Form getForm()
public java.util.List getItems()
protected java.util.List getItemList()
public void addItems(java.util.List items)
public void addItem(FormItem item)
public void addItem(int index, FormItem item)
public void clearItems()
public void link(ExEnvironment env)
public void setItems(java.util.List items)
protected void parseChild(org.w3c.dom.Element child, ExEnvironment env) throws WavesetException
WavesetException
protected void toXmlChildren(java.lang.StringBuffer b, int indent)
protected void addCommonAttributes(java.lang.StringBuffer b)
protected void parseCommonAttributes(org.w3c.dom.Element e) throws WavesetException
WavesetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |