Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.kie.remote.services.ws.command.generated;
  
 import  org.kie.remote.services.ws.common.WebServiceFaultInfo;


This object contains factory methods for each Java content interface and Java element interface generated in the org.kie.remote.services.ws.command.generated 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 _CommandServiceException_QNAME = new QName("http://services.remote.kie.org/6.2.0.1/command""CommandServiceException");
     private final static QName _CommandRequest_QNAME = new QName("http://services.remote.kie.org/6.2.0.1/command""command-request");
     private final static QName _ExecuteResponse_QNAME = new QName("http://services.remote.kie.org/6.2.0.1/command""executeResponse");
     private final static QName _CommandResponse_QNAME = new QName("http://services.remote.kie.org/6.2.0.1/command""command-response");
     private final static QName _Execute_QNAME = new QName("http://services.remote.kie.org/6.2.0.1/command""execute");

    
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.kie.remote.services.ws.command.generated
 
     public ObjectFactory() {
     }

    
Create an instance of
 
     public Execute createExecute() {
         return new Execute();
     }

    
Create an instance of
 
         return new ExecuteResponse();
     }

    
Create an instance of <>}
 
     @XmlElementDecl(namespace = "http://services.remote.kie.org/6.2.0.1/command", name = "CommandServiceException")
     public JAXBElement<WebServiceFaultInfo> createCommandServiceException(WebServiceFaultInfo value) {
         return new JAXBElement<WebServiceFaultInfo>(, WebServiceFaultInfo.classnullvalue);
     }

    
Create an instance of <>}
 
     @XmlElementDecl(namespace = "http://services.remote.kie.org/6.2.0.1/command", name = "command-request")
         return new JAXBElement<JaxbCommandsRequest>(JaxbCommandsRequest.classnullvalue);
     }

    
Create an instance of <>}
 
     @XmlElementDecl(namespace = "http://services.remote.kie.org/6.2.0.1/command", name = "executeResponse")
         return new JAXBElement<ExecuteResponse>(ExecuteResponse.classnullvalue);
     }

    
Create an instance of <>}
 
     @XmlElementDecl(namespace = "http://services.remote.kie.org/6.2.0.1/command", name = "command-response")
         return new JAXBElement<JaxbCommandsResponse>(JaxbCommandsResponse.classnullvalue);
     }

    
Create an instance of <>}
 
     @XmlElementDecl(namespace = "http://services.remote.kie.org/6.2.0.1/command", name = "execute")
    public JAXBElement<ExecutecreateExecute(Execute value) {
        return new JAXBElement<Execute>(Execute.classnullvalue);
    }
New to GrepCode? Check out our FAQ X