1 /* 2 * Copyright 2009 the original author or authors. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30; 17 18 import javax.xml.bind.JAXBElement; 19 import javax.xml.bind.annotation.XmlElementDecl; 20 import javax.xml.bind.annotation.XmlRegistry; 21 import javax.xml.namespace.QName; 22 23 /** 24 * This object contains factory methods for each 25 * Java content interface and Java element interface 26 * generated in the org.openehealth.ipf.platform.camel.xds.commons.stub.iti41 package. 27 * <p>An ObjectFactory allows you to programatically 28 * construct new instances of the Java representation 29 * for XML content. The Java representation of XML 30 * content can consist of schema derived interfaces 31 * and classes representing the binding of schema 32 * type definitions, element declarations and model 33 * groups. Factory methods for each of these are 34 * provided in this class. 35 * 36 */ 37 @XmlRegistry 38 public class ObjectFactory { 39 40 private final static QName _ProvideAndRegisterDocumentSetRequest_QNAME = new QName("urn:ihe:iti:xds-b:2007", "ProvideAndRegisterDocumentSetRequest"); 41 42 /** 43 * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.openehealth.ipf.platform.camel.xds.commons.stub.iti41 44 * 45 */ 46 public ObjectFactory() { 47 } 48 49 /** 50 * Create an instance of {@link ProvideAndRegisterDocumentSetRequestType } 51 * @return the new instance. 52 */ 53 public ProvideAndRegisterDocumentSetRequestType createProvideAndRegisterDocumentSetRequestType() { 54 return new ProvideAndRegisterDocumentSetRequestType(); 55 } 56 57 /** 58 * Create an instance of {@link ProvideAndRegisterDocumentSetRequestType.Document } 59 * @return the new instance. 60 */ 61 public ProvideAndRegisterDocumentSetRequestType.Document createProvideAndRegisterDocumentSetRequestTypeDocument() { 62 return new ProvideAndRegisterDocumentSetRequestType.Document(); 63 } 64 65 /** 66 * Create an instance of {@link JAXBElement }{@code <}{@link ProvideAndRegisterDocumentSetRequestType }{@code >}} 67 * @param value 68 * a request type. 69 * @return the new instance. 70 */ 71 @XmlElementDecl(namespace = "urn:ihe:iti:xds-b:2007", name = "ProvideAndRegisterDocumentSetRequest") 72 public JAXBElement<ProvideAndRegisterDocumentSetRequestType> createProvideAndRegisterDocumentSetRequest(ProvideAndRegisterDocumentSetRequestType value) { 73 return new JAXBElement<>(_ProvideAndRegisterDocumentSetRequest_QNAME, ProvideAndRegisterDocumentSetRequestType.class, null, value); 74 } 75 }