com.sun.xml.security.core.ai.ObjectFactory Maven / Gradle / Ivy
/*
* Copyright (c) 2010, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2009.07.10 at 04:15:53 PM IST
//
package com.sun.xml.security.core.ai;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlElementDecl;
import jakarta.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.sun.xml.security.core.ai package.
* 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.
*
*/
@XmlRegistry
public class ObjectFactory {
private final static QName _Identity_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/02/addressingidentity", "Identity");
private final static QName _Upn_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/02/addressingidentity", "Upn");
private final static QName _Dns_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/02/addressingidentity", "Dns");
private final static QName _Spn_QNAME = new QName("http://schemas.xmlsoap.org/ws/2006/02/addressingidentity", "Spn");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.xml.security.core.ai
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link IdentityType }
*
*/
public IdentityType createIdentityType() {
return new IdentityType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link IdentityType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/02/addressingidentity", name = "Identity")
public JAXBElement createIdentity(IdentityType value) {
return new JAXBElement<>(_Identity_QNAME, IdentityType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/02/addressingidentity", name = "Upn")
public JAXBElement createUpn(String value) {
return new JAXBElement<>(_Upn_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/02/addressingidentity", name = "Dns")
public JAXBElement createDns(String value) {
return new JAXBElement<>(_Dns_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2006/02/addressingidentity", name = "Spn")
public JAXBElement createSpn(String value) {
return new JAXBElement<>(_Spn_QNAME, String.class, null, value);
}
}