Class Policy


  • public class Policy
    extends OperatorContentType

    Java class for Policy element declaration.

    The following schema fragment specifies the expected content contained within this class.

     <element name="Policy">
       <complexType>
         <complexContent>
           <extension base="{http://schemas.xmlsoap.org/ws/2004/09/policy}OperatorContentType">
             <attribute name="TargetNamespace" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
             <attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/>
           </extension>
         </complexContent>
       </complexType>
     </element>
     
    • Field Detail

      • targetNamespace

        protected String targetNamespace
    • Constructor Detail

      • Policy

        public Policy()
    • Method Detail

      • getTargetNamespace

        public String getTargetNamespace()
        Gets the value of the targetNamespace property.
        Returns:
        possible object is String
      • setTargetNamespace

        public void setTargetNamespace​(String value)
        Sets the value of the targetNamespace property.
        Parameters:
        value - allowed object is String
      • getId

        public String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        public void setId​(String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String