public class RAPPGlobVars extends RAPPEnumeration
getVariable(int)
,
RAPPEnumeration.getCount()
Constructor and Description |
---|
RAPPGlobVars()
Creates an empty list of host cells.
|
Modifier and Type | Method and Description |
---|---|
void |
addVariable(RAPPGlobVar variable)
Adds a new host cell.
|
void |
addVariable(String name,
String value)
Adds a new host cell.
|
protected RAPPEnumerationItem |
createItem()
Creates an instance of the HostCell class.
|
RAPPGlobVar |
getVariable(int index)
Gets the host cell at the specified index.
|
void |
serializeFromReply(RAPPElement reply)
Initializes the action class instance from a reply element.
|
void |
serializeToReply(RAPPElement reply)
Initializes the reply Element with all attributes.
|
addElement, getCount, getElementAt, serializeFromDocument, serializeToDocument, toString
public RAPPGlobVars()
public void addVariable(String name, String value)
public void addVariable(RAPPGlobVar variable)
public RAPPGlobVar getVariable(int index)
protected RAPPEnumerationItem createItem()
createItem
in class RAPPEnumeration
public void serializeToReply(RAPPElement reply)
The XML for the node looks like (replace parenthesis with less-more-than signs):
(globVarReply action = "globVarEnumeration") (globVarEnumeration) (globVarItem action = "get" name="VARNAME_1" value="Value1" /) (globVarItem action = "get" name="VARNAME_2" value="Value1" /) ... etc ... (globVarItem action = "get" name="VARNAME_XXX" value="ValueXXX"/) (/globVarEnumeration) (/globVarReply)
public void serializeFromReply(RAPPElement reply) throws SAXException
SAXException
- for errors in the document.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.