1 /** 2 * Licensed to the Apache Software Foundation (ASF) under one 3 * or more contributor license agreements. See the NOTICE file 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 6 * to you under the Apache License, Version 2.0 (the 7 * "License"); you may not use this file except in compliance 8 * with the License. You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, 13 * software distributed under the License is distributed on an 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 * KIND, either express or implied. See the License for the 16 * specific language governing permissions and limitations 17 * under the License. 18 */ 19 // 20 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 21 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 22 // Any modifications to this file will be lost upon recompilation of the source schema. 23 // Generated on: 2014.03.27 at 03:31:18 PM GMT 24 // 25 26 27 package org.apache.wss4j.binding.wsu10; 28 29 import jakarta.xml.bind.JAXBElement; 30 import jakarta.xml.bind.annotation.XmlElementDecl; 31 import jakarta.xml.bind.annotation.XmlRegistry; 32 import javax.xml.namespace.QName; 33 34 35 /** 36 * This object contains factory methods for each 37 * Java content interface and Java element interface 38 * generated in the org.apache.wss4j.binding.wsu10 package. 39 * <p>An ObjectFactory allows you to programatically 40 * construct new instances of the Java representation 41 * for XML content. The Java representation of XML 42 * content can consist of schema derived interfaces 43 * and classes representing the binding of schema 44 * type definitions, element declarations and model 45 * groups. Factory methods for each of these are 46 * provided in this class. 47 * 48 */ 49 @XmlRegistry 50 public class ObjectFactory { 51 52 private static final String WSU_NS = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; 53 private static final QName _Expires_QNAME = new QName(WSU_NS, "Expires"); 54 private static final QName _Created_QNAME = new QName(WSU_NS, "Created"); 55 private static final QName _Timestamp_QNAME = new QName(WSU_NS, "Timestamp"); 56 57 /** 58 * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.wss4j.binding.wsu10 59 * 60 */ 61 public ObjectFactory() { 62 } 63 64 /** 65 * Create an instance of {@link AttributedDateTime } 66 * 67 */ 68 public AttributedDateTime createAttributedDateTime() { 69 return new AttributedDateTime(); 70 } 71 72 /** 73 * Create an instance of {@link TimestampType } 74 * 75 */ 76 public TimestampType createTimestampType() { 77 return new TimestampType(); 78 } 79 80 /** 81 * Create an instance of {@link AttributedURI } 82 * 83 */ 84 public AttributedURI createAttributedURI() { 85 return new AttributedURI(); 86 } 87 88 /** 89 * Create an instance of {@link JAXBElement }{@code <}{@link AttributedDateTime }{@code >}} 90 * 91 */ 92 @XmlElementDecl(namespace = WSU_NS, name = "Expires") 93 public JAXBElement<AttributedDateTime> createExpires(AttributedDateTime value) { 94 return new JAXBElement<AttributedDateTime>(_Expires_QNAME, AttributedDateTime.class, null, value); 95 } 96 97 /** 98 * Create an instance of {@link JAXBElement }{@code <}{@link AttributedDateTime }{@code >}} 99 * 100 */ 101 @XmlElementDecl(namespace = WSU_NS, name = "Created") 102 public JAXBElement<AttributedDateTime> createCreated(AttributedDateTime value) { 103 return new JAXBElement<AttributedDateTime>(_Created_QNAME, AttributedDateTime.class, null, value); 104 } 105 106 /** 107 * Create an instance of {@link JAXBElement }{@code <}{@link TimestampType }{@code >}} 108 * 109 */ 110 @XmlElementDecl(namespace = WSU_NS, name = "Timestamp") 111 public JAXBElement<TimestampType> createTimestamp(TimestampType value) { 112 return new JAXBElement<TimestampType>(_Timestamp_QNAME, TimestampType.class, null, value); 113 } 114 115 }