|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.endeca.edf.adapter.Record
public class Record
A collection of data in the form of pvals, name-value pairs.
| Constructor Summary | |
|---|---|
Record()
Constructs a new Record containing no data. |
|
| Method Summary | |
|---|---|
void |
add(PVal pVal)
Adds a pval to this record. |
void |
add(PVal[] addPVals)
Adds pvals to this record. |
PVal |
get(int i)
Returns the pval at the specified position in this record. |
java.util.Iterator<PVal> |
iterator()
Returns an iterator of the pvals in this record (in proper sequence). |
void |
serialize(BinaryFormatOutputStream out)
|
void |
serialize(org.dom4j.io.XMLWriter writer)
|
int |
size()
Returns the number of pvals contained in this record. |
PVal[] |
toArray()
Returns an array containing all of the pvals in this record, in proper sequence. |
java.lang.String |
toString()
Provides a user-readable string representation of this record. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Record()
Record containing no data.
| Method Detail |
|---|
public void add(PVal pVal)
pVal - the pval to add to this record.public void add(PVal[] addPVals)
addPVals - the pvals to add to this record.public int size()
public PVal get(int i)
i - position of pval to return
java.lang.IndexOutOfBoundsException - if the index is out of the range
(index < 0 || index >= size()).public PVal[] toArray()
public java.util.Iterator<PVal> iterator()
iterator in interface java.lang.Iterable<PVal>public java.lang.String toString()
[name1=value1, name2=value2, ..., nameN=valueN]
toString in class java.lang.Object
public void serialize(BinaryFormatOutputStream out)
throws java.io.IOException
java.io.IOException
public void serialize(org.dom4j.io.XMLWriter writer)
throws java.io.IOException,
org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||