Class JaxbNodeAdapter


  • public class JaxbNodeAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<JaxbNode,​Node>
    The adapter class for JAXB marshalling/unmarshalling of Node objects. Performs conversion between Node and JaxbNode instances.
    See Also:
    Node, JaxbNode
    • Constructor Detail

      • JaxbNodeAdapter

        public JaxbNodeAdapter()
    • Method Detail

      • marshal

        public JaxbNode marshal​(Node node)
                         throws java.lang.Exception
        Specified by:
        marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<JaxbNode,​Node>
        Throws:
        java.lang.Exception
      • unmarshal

        public Node unmarshal​(JaxbNode node)
                       throws java.lang.Exception
        Specified by:
        unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<JaxbNode,​Node>
        Throws:
        java.lang.Exception