public class ExportableItemMappingFieldModel extends ExportableItemMappingField<AdditionalInfoModel> implements XMLMarshallable
ExportableItemMappingField adding XML marshalling.The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="exportableItemMappingField">
<xs:complexType>
<xs:sequence>
<xs:element ref="additionalInformation" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="description" type="xs:string" />
<xs:attribute name="citcFieldName" type="xs:string"/>
</xs:complexType>
</xs:element>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MODEL_NAME |
| Constructor and Description |
|---|
ExportableItemMappingFieldModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
ExportableItemMappingFieldModel |
duplicate() |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
addAdditionalInfo, getAdditionalInfoByName, getAdditionalInfos, getAdditionalInfoValueByName, getAdditionalInfoValuesByName, getCitcFieldName, getDescription, getName, setAdditionalInfos, setCitcFieldName, setDescription, setNamepublic static final java.lang.String MODEL_NAME
public void addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object intopublic ExportableItemMappingFieldModel duplicate()