org.apache.juddi.api_v3.ObjectFactory Maven / Gradle / Ivy
/*
* Copyright 2001-2008 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package org.apache.juddi.api_v3;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface.
* An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
* This object was copied from the UDDI generated package
* and hand-edited to fit the juddi specific Publisher structures.
*
* @author Jeff Faath
*/
@XmlRegistry
public class ObjectFactory {
private final static QName _SavePublisher_QNAME = new QName("urn:juddi-apache-org:api_v3", "save_publisher");
private final static QName _DeletePublisher_QNAME = new QName("urn:juddi-apache-org:api_v3", "delete_publisher");
private final static QName _Publisher_QNAME = new QName("urn:juddi-apache-org:api_v3", "publisher");
private final static QName _PublisherDetail_QNAME = new QName("urn:juddi-apache-org:api_v3", "publisherDetail");
private final static QName _GetPublisherDetail_QNAME = new QName("urn:juddi-apache-org:api_v3", "get_publisherDetail");
private final static QName _GetAllPublisherDetail_QNAME = new QName("urn:juddi-apache-org:api_v3", "get_allPublisherDetail");
private final static QName _SyncSubscription_QNAME = new QName("urn:juddi-apache-org:api_v3", "sync_subscription");
private final static QName _SyncSubscriptionDetail_QNAME = new QName("urn:juddi-apache-org:api_v3", "sync_subscriptionDetail");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.juddi.api_v3
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link SavePublisher }
*
*/
public SavePublisher createSavePublisher() {
return new SavePublisher();
}
/**
* Create an instance of {@link DeletePublisher }
*
*/
public DeletePublisher createDeletePublisher() {
return new DeletePublisher();
}
/**
* Create an instance of {@link Publisher }
*
*/
public Publisher createPublisher() {
return new Publisher();
}
/**
* Create an instance of {@link PublisherDetail }
*
*/
public PublisherDetail createPublisherDetail() {
return new PublisherDetail();
}
/**
* Create an instance of {@link GetPublisherDetail }
*
*/
public GetPublisherDetail createGetPublisherDetail() {
return new GetPublisherDetail();
}
/**
* Create an instance of {@link GetPublisherDetail }
*
*/
public GetAllPublisherDetail createGetAllPublisherDetail() {
return new GetAllPublisherDetail();
}
/**
* Create an instance of {@link GetPublisherDetail }
*
*/
public SyncSubscription createSyncSubscription() {
return new SyncSubscription();
}
/**
* Create an instance of {@link GetPublisherDetail }
*
*/
public SyncSubscriptionDetail createSyncSubscriptionDetail() {
return new SyncSubscriptionDetail();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SavePublisher }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:juddi-apache-org:api_v3", name = "save_publisher")
public JAXBElement createSavePublisher(SavePublisher value) {
return new JAXBElement(_SavePublisher_QNAME, SavePublisher.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link DeletePublisher }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:juddi-apache-org:api_v3", name = "delete_publisher")
public JAXBElement createDeletePublisher(DeletePublisher value) {
return new JAXBElement(_DeletePublisher_QNAME, DeletePublisher.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Publisher }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:juddi-apache-org:api_v3", name = "publisher")
public JAXBElement createPublisher(Publisher value) {
return new JAXBElement(_Publisher_QNAME, Publisher.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link PublisherDetail }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:juddi-apache-org:api_v3", name = "publisherDetail")
public JAXBElement createPublisherDetail(PublisherDetail value) {
return new JAXBElement(_PublisherDetail_QNAME, PublisherDetail.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link GetPublisherDetail }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:juddi-apache-org:api_v3", name = "get_publisherDetail")
public JAXBElement createGetPublisherDetail(GetPublisherDetail value) {
return new JAXBElement(_GetPublisherDetail_QNAME, GetPublisherDetail.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link GetAllPublisherDetail }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:juddi-apache-org:api_v3", name = "get_allPublisherDetail")
public JAXBElement createGetAllPublisherDetail(GetAllPublisherDetail value) {
return new JAXBElement(_GetAllPublisherDetail_QNAME, GetAllPublisherDetail.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SyncSubscription }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:juddi-apache-org:api_v3", name = "sync_subscription")
public JAXBElement createSyncSubscription(SyncSubscription value) {
return new JAXBElement(_SyncSubscription_QNAME, SyncSubscription.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SyncSubscriptionDetail }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:juddi-apache-org:api_v3", name = "sync_subscriptionDetail")
public JAXBElement createGetAllPublisherDetail(SyncSubscriptionDetail value) {
return new JAXBElement(_SyncSubscriptionDetail_QNAME, SyncSubscriptionDetail.class, null, value);
}
}