Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.talend.esb.sam.monitoringservice.v1;
This object contains factory methods for each Java content interface and Java element interface generated in the org.talend.esb.sam.monitoringservice.v1 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.

public class ObjectFactory {
    private final static QName _PutEventsResponse_QNAME = new QName("""putEventsResponse");
    private final static QName _Fault_QNAME = new QName("""fault");

Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.talend.esb.sam.monitoringservice.v1
    public ObjectFactory() {

Create an instance of
    public PutEvents createPutEvents() {
        return new PutEvents();

Create an instance of <>}
    @XmlElementDecl(namespace = "", name = "putEventsResponse")
        return new JAXBElement<SuccessType>(SuccessType.classnullvalue);

Create an instance of <>}
    @XmlElementDecl(namespace = "", name = "fault")
    public JAXBElement<FaultTypecreateFault(FaultType value) {
        return new JAXBElement<FaultType>(FaultType.classnullvalue);
New to GrepCode? Check out our FAQ X