|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.codestreet.messageforge.RFld com.codestreet.messageforge.RFldHashtable
Class to represent a hashtable field.
Field Summary |
Fields inherited from class com.codestreet.messageforge.RFld |
desc_, fieldId_, locked_, name_, optional_, propertyName_, tags_, transient_, valSet_ |
Constructor Summary | |
|
RFldHashtable()
Default constructor. |
protected |
RFldHashtable(java.lang.String name,
int fieldId)
Constructor. |
protected |
RFldHashtable(java.lang.String name,
int fieldId,
java.lang.String desc)
Constructor. |
Method Summary | |
void |
marshal(java.io.Writer writer,
int indentLevel,
java.lang.String indent,
boolean newLines,
boolean expandEmptyElements)
Write the field as XML to target writer. |
abstract RFld |
set(java.util.Hashtable newData)
Set state from a java.util.Hashtable. |
Methods inherited from class com.codestreet.messageforge.RFld |
addConstraint, buildMinMaxConstraintKey, equals, getConstraint, getConstraintCount, getDesc, getId, getName, getOptional, getPropertyName, getTag, getTags, getTransient, getType, getValueAsString, hashCode, isConstrained, isLocked, isProperty, isValSet, marshal, reset, set, set, setId, setLocked, setName, setOptional, setPropertyName, setTags, setTransient, setXmlAttrNames, setXmlTags, validate |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.codestreet.messageforge.RFldInterface |
getValueAsHashtable, getValueAsObject |
Constructor Detail |
public RFldHashtable()
protected RFldHashtable(java.lang.String name, int fieldId)
name
- Field name.fieldId
- Field id. Field ids must be either 0
to indicate that there is no id on the field, or greater. In addition,
field ids must be unique within a messages - no two fields are allowed
to have the same field id.protected RFldHashtable(java.lang.String name, int fieldId, java.lang.String desc)
name
- Field name.fieldId
- Field id. Field ids must be either 0
to indicate that there is no id on the field, or greater. In addition,
field ids must be unique within a messages - no two fields are allowed
to have the same field id.desc
- Field description.Method Detail |
public void marshal(java.io.Writer writer, int indentLevel, java.lang.String indent, boolean newLines, boolean expandEmptyElements) throws ConverterException
marshal
in interface RFldInterface
marshal
in class RFld
writer
- Output target.indent
- Indentation.newLines
- Newlines are inserted after each element if true.expandEmptyElements
- Empty elements - elements with no content - are expanded if true.
ConverterException
public abstract RFld set(java.util.Hashtable newData) throws FieldValidationException
newData
- New value.
FieldValidationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |