com.microsoft.wsman.fault.ObjectFactory Maven / Gradle / Ivy
Show all versions of bedrock-runtime-windows Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.07.07 at 02:29:03 PM UTC
//
package com.microsoft.wsman.fault;
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
* generated in the com.microsoft.wsman.fault 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 _WSManFault_QNAME = new QName("http://schemas.microsoft.com/wbem/wsman/1/wsmanfault", "WSManFault");
private final static QName _MessageTypeProviderFault_QNAME = new QName("http://schemas.microsoft.com/wbem/wsman/1/wsmanfault", "ProviderFault");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.microsoft.wsman.fault
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link WSManFaultType }
*
*/
public WSManFaultType createWSManFaultType() {
return new WSManFaultType();
}
/**
* Create an instance of {@link ProviderFaultType }
*
*/
public ProviderFaultType createProviderFaultType() {
return new ProviderFaultType();
}
/**
* Create an instance of {@link MessageType }
*
*/
public MessageType createMessageType() {
return new MessageType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link WSManFaultType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link WSManFaultType }{@code >}
*/
@XmlElementDecl(namespace = "http://schemas.microsoft.com/wbem/wsman/1/wsmanfault", name = "WSManFault")
public JAXBElement createWSManFault(WSManFaultType value) {
return new JAXBElement(_WSManFault_QNAME, WSManFaultType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ProviderFaultType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ProviderFaultType }{@code >}
*/
@XmlElementDecl(namespace = "http://schemas.microsoft.com/wbem/wsman/1/wsmanfault", name = "ProviderFault", scope = MessageType.class)
public JAXBElement createMessageTypeProviderFault(ProviderFaultType value) {
return new JAXBElement(_MessageTypeProviderFault_QNAME, ProviderFaultType.class, MessageType.class, value);
}
}