ObjectFactory.java
package testnotification;
import javax.xml.namespace.QName;
import jakarta.annotation.Generated;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlElementDecl;
import jakarta.xml.bind.annotation.XmlRegistry;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the testnotification package.
* <p>An ObjectFactory allows you to programmatically
* 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
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.5", date = "2025-07-04T06:56:14Z")
public class ObjectFactory {
private static final QName _AuthCredentials_QNAME = new QName("urn://testnotification", "AuthCredentials");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: testnotification
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link SendNotification }
*
* @return
* the new instance of {@link SendNotification }
*/
public SendNotification createSendNotification() {
return new SendNotification();
}
/**
* Create an instance of {@link SendNotification.NotificationInfo }
*
* @return
* the new instance of {@link SendNotification.NotificationInfo }
*/
public SendNotification.NotificationInfo createSendNotificationNotificationInfo() {
return new SendNotification.NotificationInfo();
}
/**
* Create an instance of {@link AuthCredentials }
*
* @return
* the new instance of {@link AuthCredentials }
*/
public AuthCredentials createAuthCredentials() {
return new AuthCredentials();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AuthCredentials }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link AuthCredentials }{@code >}
*/
@XmlElementDecl(namespace = "urn://testnotification", name = "AuthCredentials")
public JAXBElement<AuthCredentials> createAuthCredentials(AuthCredentials value) {
return new JAXBElement<>(_AuthCredentials_QNAME, AuthCredentials.class, null, value);
}
}