public class RAPPHostCells extends RAPPEnumeration implements RAPPHostReply
| Constructor and Description |
|---|
RAPPHostCells()
Creates an empty list of host cells.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCell(RAPPHostCell cell)
Adds a new host cell.
|
protected RAPPEnumerationItem |
createItem()
Creates an instance of the HostCell class.
|
RAPPHostCell |
getCell(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, toStringpublic RAPPHostCells()
public void addCell(RAPPHostCell cell)
public RAPPHostCell getCell(int index)
protected RAPPEnumerationItem createItem()
createItem in class RAPPEnumerationpublic void serializeToReply(RAPPElement reply)
The XML for the node looks like (replace parenthesis with less-more-than signs):
(callHostReply action = "hostCellEnumeration")
(hostCellEnumeration)
(hostCell
name = "FLDNAME"
length = "20"
[ hostLength = "78" ]
column = "28"
[ hostColumn = "1" ]
[ hostFieldColumn = "0" ]
row = "10"
[ hostRow = "8" ]
[ hostFieldRow = "8" ]
protected = "true"
hidden = "false"
color = "7"
value = "Abraham Lincoln"
[ index = "12" ] /)
(hostCell name="FLD2" ... /)
... etc ...
(hostCell name="FLD156" ... /)
(/hostCellEnumeration)
(/callHostReply)
serializeToReply in interface RAPPHostReplyRAPPHostCell,
RAPPHostCells,
RAPPHostScreenpublic void serializeFromReply(RAPPElement reply) throws SAXException
serializeFromReply in interface RAPPHostReplySAXException - for errors in the document.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.