public class RAPPLine extends Object implements RAPPEnumerationItem
Constructor and Description |
---|
RAPPLine()
Creates an empty line item.
|
RAPPLine(String[] items)
Creates an initialized line item.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getItems()
Gets the items for this line.
|
void |
serializeFromDocument(RAPPElement line)
Initializes the action class instance from a request element.
|
void |
serializeFromDocument(RAPPElement element,
int index)
Initializes the item class instance from a reply element
in the enumeration.
|
void |
serializeToDocument(RAPPElement element)
Initializes the request Element with all attributes.
|
void |
serializeToDocument(RAPPElement element,
int index)
Initializes Element for the item in the enumeration.
|
void |
setItems(String[] items)
Sets the items for this line.
|
String |
toString()
Converts this class into a string for testing purposes.
|
public RAPPLine()
setItems
to store the data. This method is also used for XML serializing.public RAPPLine(String[] items)
public void setItems(String[] items)
public String[] getItems()
public void serializeToDocument(RAPPElement element)
The XML for the node looks like (replace parenthesis with less-more-than signs):
(line) (item value="123"/) ... (item value="XYZ"/) (/line)
public void serializeToDocument(RAPPElement element, int index)
index
parameter indicates the index in
the enumeration of the element.serializeToDocument
in interface RAPPEnumerationItem
public void serializeFromDocument(RAPPElement line) throws SAXException
SAXException
- for errors in the document.public void serializeFromDocument(RAPPElement element, int index) throws SAXException
serializeFromDocument
in interface RAPPEnumerationItem
SAXException
- for errors in the document.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.