KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > xml > ws > policy > impl > bindings > Policy


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  * &lt;element name="Policy">
30  * &lt;complexType>
31  * &lt;complexContent>
32  * &lt;extension base="{http://schemas.xmlsoap.org/ws/2004/09/policy}OperatorContentType">
33  * &lt;attribute name="TargetNamespace" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
34  * &lt;attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/>
35  * &lt;/extension>
36  * &lt;/complexContent>
37  * &lt;/complexType>
38  * &lt;/element>
39  * </pre>
40  *
41  *
42  */

43 @XmlAccessorType(XmlAccessType.FIELD)
44 @XmlType(name = "")
45 @XmlRootElement(name = "Policy")
46 public class Policy
47     extends OperatorContentType
48 {
49
50     @XmlAttribute(name = "TargetNamespace")
51     protected String JavaDoc 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     @XmlID
55     protected String JavaDoc id;
56
57     /**
58      * Gets the value of the targetNamespace property.
59      *
60      * @return
61      * possible object is
62      * {@link String }
63      *
64      */

65     public String JavaDoc getTargetNamespace() {
66         return targetNamespace;
67     }
68
69     /**
70      * Sets the value of the targetNamespace property.
71      *
72      * @param value
73      * allowed object is
74      * {@link String }
75      *
76      */

77     public void setTargetNamespace(String JavaDoc value) {
78         this.targetNamespace = value;
79     }
80
81     /**
82      * Gets the value of the id property.
83      *
84      * @return
85      * possible object is
86      * {@link String }
87      *
88      */

89     public String JavaDoc getId() {
90         return id;
91     }
92
93     /**
94      * Sets the value of the id property.
95      *
96      * @param value
97      * allowed object is
98      * {@link String }
99      *
100      */

101     public void setId(String JavaDoc value) {
102         this.id = value;
103     }
104
105 }
106
Popular Tags