public class RAPPLines extends RAPPEnumeration
getLine(int),
getLineItems(int),
RAPPEnumeration.getCount()| Constructor and Description |
|---|
RAPPLines()
Creates an empty list of lines.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLine(RAPPLine line)
Adds a new line to the list of lines.
|
void |
addLine(String[] items)
Adds a new line to the list of lines.
|
protected RAPPEnumerationItem |
createItem()
Creates an instance of the HostCell class.
|
RAPPLine |
getLine(int index)
Gets the line at the specified index.
|
String[] |
getLineItems(int index)
Gets the line items.
|
void |
serializeFromDocument(RAPPElement element)
Initializes the action class instance from an Element.
|
void |
serializeToDocument(RAPPElement element)
Initializes the Element with all attributes.
|
addElement, getCount, getElementAt, serializeFromDocument, serializeToDocument, toStringpublic void addLine(RAPPLine line)
public void addLine(String[] items)
addLine(new RAPPLine(items)).public RAPPLine getLine(int index)
public String[] getLineItems(int index)
getLine(index).getItems().protected RAPPEnumerationItem createItem()
createItem in class RAPPEnumerationpublic void serializeToDocument(RAPPElement element)
The XML for the node looks like (replace parenthesis with less-more-than signs):
(lines)
(line)
(item value = "col1 row1"/)
(item value = "col2 row1"/)
(/line)
(line)
(item value = "col1 row2"/)
(item value = "col2 row2"/)
(/line)
(/lines) ]
public void serializeFromDocument(RAPPElement element) throws SAXException
SAXException - for errors in the document.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.