public class OCVPanel extends java.lang.Object implements java.lang.Iterable<OCVPanel.CITValue>
Modifier and Type | Class and Description |
---|---|
static class |
OCVPanel.CITValue
This class represents a single row in this panel.
|
Constructor and Description |
---|
OCVPanel(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element citPanel,
ConnectionAttributes session)
Internal use only.
|
Modifier and Type | Method and Description |
---|---|
void |
add(OCVPanel.CITValue value)
Adds a new value to this panel.
|
boolean |
changeValue(java.lang.String xmlName,
java.lang.String value)
Modifies the value of an xmlName.
|
void |
clear()
Removes all values from this connection object.
|
OCVPanel |
copy()
Creates a deep copy of this object
|
java.lang.String |
get(java.lang.String name)
Gets a value from by its unique name.
|
int |
getInt(java.lang.String name)
Gets a value by its name and converts the result to an integer.
|
java.util.Iterator<OCVPanel.CITValue> |
iterator()
Returns an iterator which can be used ot read all values.
|
boolean |
remove(java.lang.String name)
Removes a value from this OCV Panel instance.
|
void |
setValue(java.lang.String xmlName,
java.lang.String value,
boolean enc,
boolean con)
Modifies or adds a new value to this OCV panel.
|
int |
size() |
public OCVPanel(com.uc4.util.XMLDocument doc, org.w3c.dom.Element citPanel, ConnectionAttributes session)
doc
- XML documentcitPanel
- Element of RA valuessession
- Session infopublic java.lang.String get(java.lang.String name)
name
- xmlNamepublic int getInt(java.lang.String name)
name
- xmlName of the parameterpublic boolean remove(java.lang.String name)
name
- XML namepublic java.util.Iterator<OCVPanel.CITValue> iterator()
iterator
in interface java.lang.Iterable<OCVPanel.CITValue>
public void clear()
public void add(OCVPanel.CITValue value)
value
- CITValuepublic boolean changeValue(java.lang.String xmlName, java.lang.String value)
xmlName
- Namevalue
- New valuepublic void setValue(java.lang.String xmlName, java.lang.String value, boolean enc, boolean con)
xmlName
- Namevalue
- Valueenc
- Encryption?con
- Connection Objectpublic int size()
public OCVPanel copy()