Samples JDK
SayHiResponseDocumentImpl.java
1 /*
2  * An XML document type.
3  * Localname: sayHiResponse
4  * Namespace: http://apache.org/hello_world_soap_http/types
5  * Java type: org.apache.helloWorldSoapHttp.types.SayHiResponseDocument
6  *
7  * Automatically generated - do not modify.
8  */
9 package org.apache.helloWorldSoapHttp.types.impl;
10 /**
11  * A document containing one sayHiResponse(@http://apache.org/hello_world_soap_http/types) element.
12  *
13  * This is a complex type.
14  */
15 public class SayHiResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.helloWorldSoapHttp.types.SayHiResponseDocument
16 {
17  private static final long serialVersionUID = 1L;
18 
19  public SayHiResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20  {
21  super(sType);
22  }
23 
24  private static final javax.xml.namespace.QName SAYHIRESPONSE$0 =
25  new javax.xml.namespace.QName("http://apache.org/hello_world_soap_http/types", "sayHiResponse");
26 
27 
28  /**
29  * Gets the "sayHiResponse" element
30  */
32  {
33  synchronized (monitor())
34  {
35  check_orphaned();
37  target = (org.apache.helloWorldSoapHttp.types.SayHiResponseDocument.SayHiResponse)get_store().find_element_user(SAYHIRESPONSE$0, 0);
38  if (target == null)
39  {
40  return null;
41  }
42  return target;
43  }
44  }
45 
46  /**
47  * Sets the "sayHiResponse" element
48  */
50  {
51  generatedSetterHelperImpl(sayHiResponse, SAYHIRESPONSE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52  }
53 
54  /**
55  * Appends and returns a new empty "sayHiResponse" element
56  */
58  {
59  synchronized (monitor())
60  {
61  check_orphaned();
63  target = (org.apache.helloWorldSoapHttp.types.SayHiResponseDocument.SayHiResponse)get_store().add_element_user(SAYHIRESPONSE$0);
64  return target;
65  }
66  }
67  /**
68  * An XML sayHiResponse(@http://apache.org/hello_world_soap_http/types).
69  *
70  * This is a complex type.
71  */
72  public static class SayHiResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.helloWorldSoapHttp.types.SayHiResponseDocument.SayHiResponse
73  {
74  private static final long serialVersionUID = 1L;
75 
76  public SayHiResponseImpl(org.apache.xmlbeans.SchemaType sType)
77  {
78  super(sType);
79  }
80 
81  private static final javax.xml.namespace.QName RESPONSETYPE$0 =
82  new javax.xml.namespace.QName("http://apache.org/hello_world_soap_http/types", "responseType");
83 
84 
85  /**
86  * Gets the "responseType" element
87  */
88  public java.lang.String getResponseType()
89  {
90  synchronized (monitor())
91  {
92  check_orphaned();
93  org.apache.xmlbeans.SimpleValue target = null;
94  target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESPONSETYPE$0, 0);
95  if (target == null)
96  {
97  return null;
98  }
99  return target.getStringValue();
100  }
101  }
102 
103  /**
104  * Gets (as xml) the "responseType" element
105  */
106  public org.apache.xmlbeans.XmlString xgetResponseType()
107  {
108  synchronized (monitor())
109  {
110  check_orphaned();
111  org.apache.xmlbeans.XmlString target = null;
112  target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(RESPONSETYPE$0, 0);
113  return target;
114  }
115  }
116 
117  /**
118  * Sets the "responseType" element
119  */
120  public void setResponseType(java.lang.String responseType)
121  {
122  synchronized (monitor())
123  {
124  check_orphaned();
125  org.apache.xmlbeans.SimpleValue target = null;
126  target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESPONSETYPE$0, 0);
127  if (target == null)
128  {
129  target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RESPONSETYPE$0);
130  }
131  target.setStringValue(responseType);
132  }
133  }
134 
135  /**
136  * Sets (as xml) the "responseType" element
137  */
138  public void xsetResponseType(org.apache.xmlbeans.XmlString responseType)
139  {
140  synchronized (monitor())
141  {
142  check_orphaned();
143  org.apache.xmlbeans.XmlString target = null;
144  target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(RESPONSETYPE$0, 0);
145  if (target == null)
146  {
147  target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(RESPONSETYPE$0);
148  }
149  target.set(responseType);
150  }
151  }
152  }
153 }
org.apache.helloWorldSoapHttp.types.SayHiResponseDocument.SayHiResponse getSayHiResponse()
void setSayHiResponse(org.apache.helloWorldSoapHttp.types.SayHiResponseDocument.SayHiResponse sayHiResponse)
org.apache.helloWorldSoapHttp.types.SayHiResponseDocument.SayHiResponse addNewSayHiResponse()