Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.xml.dom.marshal
Interface WLDOMStructure

All Known Subinterfaces:
SAMLToken, SecurityToken, SecurityTokenReference, Timestamp, TrustToken
All Known Implementing Classes:
SAMLSecurityTokenReference, SAMLTokenImpl, SAMLTrustToken, SecurityTokenImpl, SecurityTokenReferenceImpl

public interface WLDOMStructure


Method Summary
 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.
 

Method Detail

marshal

void marshal(Element parentElement,
             Node nextSibling,
             Map namespaces)
             throws MarshalException
Creates a Node, serializes the object to it and adds it as a child to the parent element.

Parameters:
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.
Throws:
MarshalException

unmarshal

void unmarshal(Node node)
               throws MarshalException
Deserializes the object from a node.

Parameters:
node - Node the object is deserialzed from.
Throws:
MarshalException

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02