Base implementation for custom marshaller/unmarshallers to DOM
representation. This provides the basic code used for both single element and
content list handling.
Constructor. Initializes the document used by this
marshaller/unmarshaller instance as the owner of all DOM components.
throws: JiBXException - on error creating document
Marshal node list.
Parameters: content - list of nodes 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
Marshal node.
Parameters: node - node to be marshalled exception: JiBXException - on error in marshalling exception: IOException - on error writing to output
Unmarshal node 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: parent - node to which children are to be added 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
Unmarshal single node. This unmarshals the next node from the input
stream, up to the close tag of the containing element.
unmarshalled node exception: JiBXException - on error in unmarshalling exception: IOException - on error reading input
Fields inherited from org.jibx.extras.DocumentModelMapperBase