203204205206207208209210211212213
/* * Add the node encapsulating the entity Header. */ node.add(createNode(entity.getHeader())); Body body = entity.getBody(); if (body instanceof Multipart) { /* * The body of the entity is a Multipart. */