|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.servingxml.util.record.FixedLayoutRecordBuilder
public class FixedLayoutRecordBuilder
A FixedLayoutRecordBuilder
class builds a record having a fixed number of fields.
Constructor Summary | |
---|---|
FixedLayoutRecordBuilder(RecordType recordType)
Creates an empty record object. |
Method Summary | |
---|---|
protected void |
addValue(int index,
java.lang.String value)
Adds a value for a field at an index. |
void |
appendValue(Name name,
java.lang.String value)
|
void |
clear()
|
int |
count()
Gets the number of record |
protected int |
getFieldIndex(Name name)
|
FieldType[] |
getFieldTypes()
|
Record |
toRecord()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FixedLayoutRecordBuilder(RecordType recordType)
Method Detail |
---|
protected void addValue(int index, java.lang.String value)
index
- The indexvalue
- The value.public void appendValue(Name name, java.lang.String value)
public int count()
public FieldType[] getFieldTypes()
public Record toRecord()
protected int getFieldIndex(Name name)
public void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |