Class PolicyReferenceImpl

    • Field Detail

      • uri

        private String uri
        URI attribute value.
      • digest

        private String digest
        Digest attribute value.
      • digestAlgorithm

        private String digestAlgorithm
        DigestAlgorithm attribute value.
      • unknownAttributes

        private AttributeMap unknownAttributes
        xs:anyAttribute attributes.
    • Constructor Detail

      • PolicyReferenceImpl

        public PolicyReferenceImpl​(String namespaceURI,
                                   String elementLocalName,
                                   String namespacePrefix)
        Constructor.
        Parameters:
        namespaceURI - The namespace of the element
        elementLocalName - The local name of the element
        namespacePrefix - The namespace prefix of the element
    • Method Detail

      • getDigest

        public String getDigest()
        Returns the wsp:PolicyReference/@Digest attribute URI value.
        Specified by:
        getDigest in interface PolicyReference
        Returns:
        the Digest attribute URI value.
      • getDigestAlgorithm

        public String getDigestAlgorithm()
        Returns the wsp:PolicyReference/@DigestAlgoritm attribute Base64 binary value.
        Specified by:
        getDigestAlgorithm in interface PolicyReference
        Returns:
        the DigestAlgoritm attribute Base64 binary value.
      • getURI

        public String getURI()
        Returns the wsp:PolicyReference/@URI attribute value.
        Specified by:
        getURI in interface PolicyReference
        Returns:
        the URI attribute value.
      • setDigest

        public void setDigest​(String newDigest)
        Sets the wsp:PolicyReference/@Digest attribute URI value.
        Specified by:
        setDigest in interface PolicyReference
        Parameters:
        newDigest - the Digest attribute URI value to set.
      • setDigestAlgorithm

        public void setDigestAlgorithm​(String newDigestAlgorithm)
        Sets the wsp:PolicyReference/@DigestAlgoritm attribute Base64 binary value.
        Specified by:
        setDigestAlgorithm in interface PolicyReference
        Parameters:
        newDigestAlgorithm - the DigestAlgoritm attribute Base64 binary value to set.
      • setURI

        public void setURI​(String newURI)
        Sets the wsp:PolicyReference/@URI attribute value.
        Specified by:
        setURI in interface PolicyReference
        Parameters:
        newURI - the URI attribute value to set.
      • getUnknownAttributes

        public AttributeMap getUnknownAttributes()
        Gets a mutable map of the attributes. The map key is the namespace qualified name of the attribute, the map value is the value of the attribute.
        Specified by:
        getUnknownAttributes in interface AttributeExtensibleXMLObject
        Returns:
        a map of the attributes
      • getOrderedChildren

        public List<XMLObject> getOrderedChildren()
        Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
        Specified by:
        getOrderedChildren in interface XMLObject
        Returns:
        ordered list of child elements