Class EmbeddedReference

  • All Implemented Interfaces:
    javax.xml.soap.Node, javax.xml.soap.SOAPElement, Element, Node

    public class EmbeddedReference
    extends ReferenceElement
    Author:
    Vishal Mahajan
    • Field Detail

      • log

        protected static final Logger log
    • Constructor Detail

      • EmbeddedReference

        public EmbeddedReference()
                          throws com.sun.xml.wss.XWSSecurityException
        Creates an "empty" EmbeddedReference element.
        Throws:
        com.sun.xml.wss.XWSSecurityException
      • EmbeddedReference

        public EmbeddedReference​(javax.xml.soap.SOAPElement element)
                          throws com.sun.xml.wss.XWSSecurityException
        Takes a SOAPElement and checks if it has the right name and structure.
        Throws:
        com.sun.xml.wss.XWSSecurityException
    • Method Detail

      • getEmbeddedSoapElement

        public javax.xml.soap.SOAPElement getEmbeddedSoapElement()
        Assumes that there is a single embedded element.
        Returns:
        If no child element is present, returns null
      • setEmbeddedSoapElement

        public void setEmbeddedSoapElement​(javax.xml.soap.SOAPElement element)
                                    throws com.sun.xml.wss.XWSSecurityException
        Throws:
        com.sun.xml.wss.XWSSecurityException
      • getWsuId

        public String getWsuId()
        If this attr is not present, returns null.
      • setWsuId

        public void setWsuId​(String wsuId)