KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > xml > ws > security > wsu > ObjectFactory


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.security.wsu;
10
11 import javax.xml.bind.JAXBElement;
12 import javax.xml.bind.annotation.XmlElementDecl;
13 import javax.xml.bind.annotation.XmlRegistry;
14 import javax.xml.namespace.QName JavaDoc;
15 import com.sun.xml.ws.security.wsu.AttributedDateTime;
16 import com.sun.xml.ws.security.wsu.AttributedURI;
17 import com.sun.xml.ws.security.wsu.ObjectFactory;
18 import com.sun.xml.ws.security.wsu.TimestampType;
19
20
21 /**
22  * This object contains factory methods for each
23  * Java content interface and Java element interface
24  * generated in the com.sun.xml.ws.security.wsu package.
25  * <p>An ObjectFactory allows you to programatically
26  * construct new instances of the Java representation
27  * for XML content. The Java representation of XML
28  * content can consist of schema derived interfaces
29  * and classes representing the binding of schema
30  * type definitions, element declarations and model
31  * groups. Factory methods for each of these are
32  * provided in this class.
33  *
34  */

35 @XmlRegistry
36 public class ObjectFactory {
37
38     private final static QName JavaDoc _Expires_QNAME = new QName JavaDoc("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd", "Expires");
39     private final static QName JavaDoc _Created_QNAME = new QName JavaDoc("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd", "Created");
40     private final static QName JavaDoc _Timestamp_QNAME = new QName JavaDoc("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd", "Timestamp");
41
42     /**
43      * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.xml.ws.security.wsu
44      *
45      */

46     public ObjectFactory() {
47     }
48
49     /**
50      * Create an instance of {@link AttributedURI }
51      *
52      */

53     public AttributedURI createAttributedURI() {
54         return new AttributedURI();
55     }
56
57     /**
58      * Create an instance of {@link TimestampType }
59      *
60      */

61     public TimestampType createTimestampType() {
62         return new TimestampType();
63     }
64
65     /**
66      * Create an instance of {@link AttributedDateTime }
67      *
68      */

69     public AttributedDateTime createAttributedDateTime() {
70         return new AttributedDateTime();
71     }
72
73     /**
74      * Create an instance of {@link JAXBElement }{@code <}{@link AttributedDateTime }{@code >}}
75      *
76      */

77     @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd", name = "Expires")
78     public JAXBElement<AttributedDateTime> createExpires(AttributedDateTime value) {
79         return new JAXBElement<AttributedDateTime>(_Expires_QNAME, AttributedDateTime.class, null, value);
80     }
81
82     /**
83      * Create an instance of {@link JAXBElement }{@code <}{@link AttributedDateTime }{@code >}}
84      *
85      */

86     @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd", name = "Created")
87     public JAXBElement<AttributedDateTime> createCreated(AttributedDateTime value) {
88         return new JAXBElement<AttributedDateTime>(_Created_QNAME, AttributedDateTime.class, null, value);
89     }
90
91     /**
92      * Create an instance of {@link JAXBElement }{@code <}{@link TimestampType }{@code >}}
93      *
94      */

95     @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd", name = "Timestamp")
96     public JAXBElement<TimestampType> createTimestamp(TimestampType value) {
97         return new JAXBElement<TimestampType>(_Timestamp_QNAME, TimestampType.class, null, value);
98     }
99
100 }
101
Popular Tags