summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/tags/java-stable-20060304/samples/helloworld/helloworldaxis2/src/main/java/org/apache/tuscany/samples/helloworldaxis/GetGreetings.java
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-1.x/tags/java-stable-20060304/samples/helloworld/helloworldaxis2/src/main/java/org/apache/tuscany/samples/helloworldaxis/GetGreetings.java')
-rw-r--r--sca-java-1.x/tags/java-stable-20060304/samples/helloworld/helloworldaxis2/src/main/java/org/apache/tuscany/samples/helloworldaxis/GetGreetings.java94
1 files changed, 94 insertions, 0 deletions
diff --git a/sca-java-1.x/tags/java-stable-20060304/samples/helloworld/helloworldaxis2/src/main/java/org/apache/tuscany/samples/helloworldaxis/GetGreetings.java b/sca-java-1.x/tags/java-stable-20060304/samples/helloworld/helloworldaxis2/src/main/java/org/apache/tuscany/samples/helloworldaxis/GetGreetings.java
new file mode 100644
index 0000000000..a7c332f9e7
--- /dev/null
+++ b/sca-java-1.x/tags/java-stable-20060304/samples/helloworld/helloworldaxis2/src/main/java/org/apache/tuscany/samples/helloworldaxis/GetGreetings.java
@@ -0,0 +1,94 @@
+/**
+ * GetGreetings.java This file was auto-generated from WSDL by the Apache Axis2
+ * version: #axisVersion# #today#
+ */
+package org.apache.tuscany.samples.helloworldaxis;
+
+/**
+ * GetGreetings bean class
+ */
+public class GetGreetings implements org.apache.axis2.databinding.ADBBean {
+ public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName("http://helloworldaxis.samples.tuscany.apache.org",
+ "getGreetings", "ns1");
+
+ /** field for In0 */
+ private java.lang.String localIn0;
+
+ /**
+ * Auto generated getter method
+ *
+ * @return java.lang.String
+ */
+ public java.lang.String getIn0() {
+ return localIn0;
+ }
+
+ /**
+ * Auto generated setter method
+ *
+ * @param param In0
+ */
+ public void setIn0(java.lang.String param) {
+ this.localIn0 = param;
+ }
+
+ /**
+ * databinding method to get an XML representation of this object
+ */
+ public javax.xml.stream.XMLStreamReader getPullParser(
+ javax.xml.namespace.QName qName) {
+ java.util.ArrayList elementList = new java.util.ArrayList();
+ java.util.ArrayList attribList = new java.util.ArrayList();
+
+ elementList.add(new javax.xml.namespace.QName(
+ "http://helloworldaxis.samples.tuscany.apache.org", "in0"));
+ elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
+ localIn0));
+
+ return org.apache.axis2.databinding.utils.ADBPullParser.createPullParser(qName,
+ elementList.toArray(), attribList.toArray());
+ }
+
+ /**
+ * static method to create the object Note - This is not complete
+ */
+ public static GetGreetings parse(javax.xml.stream.XMLStreamReader reader)
+ throws java.lang.Exception {
+ GetGreetings object = new GetGreetings();
+
+ try {
+ int event = reader.getEventType();
+ int count = 0;
+ int argumentCount = 1;
+ boolean done = false;
+
+ //event better be a START_ELEMENT. if not we should go up to the start element here
+ while (!reader.isStartElement()) {
+ event = reader.next();
+ }
+
+ while (!done) {
+ if (javax.xml.stream.XMLStreamConstants.START_ELEMENT == event) {
+ if ("in0".equals(reader.getLocalName())) {
+ String content = reader.getElementText();
+ object.setIn0(org.apache.axis2.databinding.utils.ConverterUtil.convertTostring(
+ content));
+ count++;
+ }
+ }
+
+ if (argumentCount == count) {
+ done = true;
+ }
+
+ if (!done) {
+ event = reader.next();
+ }
+ }
+ } catch (javax.xml.stream.XMLStreamException e) {
+ throw new java.lang.Exception(e);
+ }
+
+ return object;
+ }
+}