|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.servingxml.util.record.MultivaluedFieldBuilder
public class MultivaluedFieldBuilder
A MultivaluedFieldBuilder
class builds a record.
Constructor Summary | |
---|---|
MultivaluedFieldBuilder()
Creates a record builder with no initial field types. |
Method Summary | |
---|---|
protected int |
addFieldEntry(com.servingxml.util.record.MultivaluedFieldBuilder.FieldEntry fieldEntry)
Adds a field type. |
void |
addSegment(Name name,
Record record)
Sets a value for a field. |
void |
addString(Name name,
java.lang.String value)
Sets a value for a field. |
void |
clear()
|
protected int |
getFieldIndex(Name name)
|
void |
updateRecord(RecordBuilder recordBuilder)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultivaluedFieldBuilder()
Method Detail |
---|
public void addString(Name name, java.lang.String value)
name
- The field name.value
- The field value.public void addSegment(Name name, Record record)
name
- The field name.record
- The segment value.public void updateRecord(RecordBuilder recordBuilder)
protected int getFieldIndex(Name name)
protected int addFieldEntry(com.servingxml.util.record.MultivaluedFieldBuilder.FieldEntry fieldEntry)
fieldEntry
- A field type.public void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |