1 //2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b26-ea3 3 // See <a HREF="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 4 // Any modifications to this file will be lost upon recompilation of the source schema. 5 // Generated on: 2006.02.24 at 05:55:09 PM PST 6 //7 8 9 package com.sun.xml.ws.policy.impl.bindings;10 11 import javax.xml.bind.annotation.XmlAccessType;12 import javax.xml.bind.annotation.XmlAccessorType;13 import javax.xml.bind.annotation.XmlAttribute;14 import javax.xml.bind.annotation.XmlID;15 import javax.xml.bind.annotation.XmlRootElement;16 import javax.xml.bind.annotation.XmlType;17 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;18 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;19 import com.sun.xml.ws.policy.impl.bindings.OperatorContentType;20 import com.sun.xml.ws.policy.impl.bindings.Policy;21 22 23 /**24 * <p>Java class for Policy element declaration.25 * 26 * <p>The following schema fragment specifies the expected content contained within this class.27 * 28 * <pre>29 * <element name="Policy">30 * <complexType>31 * <complexContent>32 * <extension base="{http://schemas.xmlsoap.org/ws/2004/09/policy}OperatorContentType">33 * <attribute name="TargetNamespace" type="{http://www.w3.org/2001/XMLSchema}anyURI" />34 * <attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/>35 * </extension>36 * </complexContent>37 * </complexType>38 * </element>39 * </pre>40 * 41 * 42 */43 @XmlAccessorType(XmlAccessType.FIELD)44 @XmlType(name = "")45 @XmlRootElement(name = "Policy")46 public class Policy47 extends OperatorContentType48 {49 50 @XmlAttribute(name = "TargetNamespace")51 protected String targetNamespace;52 @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")53 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)54 @XmlID55 protected String id;56 57 /**58 * Gets the value of the targetNamespace property.59 * 60 * @return61 * possible object is62 * {@link String }63 * 64 */65 public String getTargetNamespace() {66 return targetNamespace;67 }68 69 /**70 * Sets the value of the targetNamespace property.71 * 72 * @param value73 * allowed object is74 * {@link String }75 * 76 */77 public void setTargetNamespace(String value) {78 this.targetNamespace = value;79 }80 81 /**82 * Gets the value of the id property.83 * 84 * @return85 * possible object is86 * {@link String }87 * 88 */89 public String getId() {90 return id;91 }92 93 /**94 * Sets the value of the id property.95 * 96 * @param value97 * allowed object is98 * {@link String }99 * 100 */101 public void setId(String value) {102 this.id = value;103 }104 105 }106