Base implementation for custom marshaller/unmarshallers to dom4j
representation. This provides the basic code used for both single element and
content list handling.
Marshal content list.
Parameters: content - list of content items to marshal exception: JiBXException - on error in marshalling exception: IOException - on error writing to output
Marshal element with all attributes and content.
Parameters: element - element to be marshalled exception: JiBXException - on error in marshalling exception: IOException - on error writing to output
Unmarshal element content. This unmarshals everything up to the
containing element close tag, adding each component to the content list
supplied. On return, the parse position will always be at an END_TAG.
Parameters: content - list for unmarshalled content exception: JiBXException - on error in unmarshalling exception: IOException - on error reading input
Unmarshal element with all attributes and content. This must be called
with the unmarshalling context positioned at a START_TAG event.
unmarshalled element exception: JiBXException - on error in unmarshalling exception: IOException - on error reading input
Fields inherited from org.jibx.extras.DocumentModelMapperBase