public interface WLDOMStructure
| Modifier and Type | Method and Description | 
|---|---|
void | 
marshal(Element parentElement,
       Node nextSibling,
       Map namespaces)
Creates a Node, serializes the object to it and adds it as a child to the
 parent element. 
 | 
void | 
unmarshal(Node node)
Deserializes the object from a node. 
 | 
void marshal(Element parentElement, Node nextSibling, Map namespaces) throws MarshalException
parentElement - Parent element of the node.nextSibling - Sibling the node is inserted before. If nextSibling is null,
 the node has to be appended at the end.namespaces - Namespace-prefix to URI mapping scoped for the node to create.MarshalExceptionvoid unmarshal(Node node) throws MarshalException
node - Node the object is deserialzed from.MarshalException