Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.xmlsoap.schemas.soap.envelope;
  
This object contains factory methods for each Java content interface and Java element interface generated in the org.xmlsoap.schemas.soap.envelope 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 _Body_QNAME = new QName("http://schemas.xmlsoap.org/soap/envelope/""Body");
     private final static QName _Envelope_QNAME = new QName("http://schemas.xmlsoap.org/soap/envelope/""Envelope");
     private final static QName _Fault_QNAME = new QName("http://schemas.xmlsoap.org/soap/envelope/""Fault");
     private final static QName _Header_QNAME = new QName("http://schemas.xmlsoap.org/soap/envelope/""Header");

    
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.xmlsoap.schemas.soap.envelope
 
     public ObjectFactory() {
     }

    
Create an instance of
 
     public Envelope createEnvelope() {
         return new Envelope();
     }

    
Create an instance of
 
     public Body createBody() {
         return new Body();
     }

    
Create an instance of
 
     public Detail createDetail() {
         return new Detail();
     }

    
Create an instance of
 
     public Header createHeader() {
         return new Header();
     }

    
Create an instance of
 
     public Fault createFault() {
         return new Fault();
     }

    
Create an instance of <>}
 
     @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/soap/envelope/", name = "Body")
     public JAXBElement<BodycreateBody(Body value) {
         return new JAXBElement<Body>(Body.classnullvalue);
     }

    
Create an instance of <>}
 
     @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/soap/envelope/", name = "Envelope")
     public JAXBElement<EnvelopecreateEnvelope(Envelope value) {
         return new JAXBElement<Envelope>(Envelope.classnullvalue);
     }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/soap/envelope/", name = "Fault")
    public JAXBElement<FaultcreateFault(Fault value) {
        return new JAXBElement<Fault>(Fault.classnullvalue);
    }

    
Create an instance of <>}
    @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/soap/envelope/", name = "Header")
    public JAXBElement<HeadercreateHeader(Header value) {
        return new JAXBElement<Header>(Header.classnullvalue);
    }
New to GrepCode? Check out our FAQ X