/** * 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. * * @param parent node to which children are to be added * @exception JiBXException on error in unmarshalling * @exception IOException on error reading input */ protected void unmarshalContent(Node parent) throws JiBXException, IOException { Node node; while ((node = unmarshalNode()) != null) { parent.appendChild(node); } }