Source Code Cross Referenced for CreateAccountRequest.java in  » Web-Services-AXIS2 » adb » org » apache » axis2 » databinding » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Services AXIS2 » adb » org.apache.axis2.databinding 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Licensed to the Apache Software Foundation (ASF) under one
003:         * or more contributor license agreements. See the NOTICE file
004:         * distributed with this work for additional information
005:         * regarding copyright ownership. The ASF licenses this file
006:         * to you under the Apache License, Version 2.0 (the
007:         * "License"); you may not use this file except in compliance
008:         * with the License. You may obtain a copy of the License at
009:         *
010:         * http://www.apache.org/licenses/LICENSE-2.0
011:         *
012:         * Unless required by applicable law or agreed to in writing,
013:         * software distributed under the License is distributed on an
014:         * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015:         * KIND, either express or implied. See the License for the
016:         * specific language governing permissions and limitations
017:         * under the License.
018:         */
019:
020:        /**
021:         * CreateAccountRequest.java
022:         *
023:         * This file was auto-generated from WSDL
024:         * by the Apache Axis2 version: #axisVersion# #today#
025:         */package org.apache.axis2.databinding;
026:
027:        /** CreateAccountRequest bean class */
028:
029:        public class CreateAccountRequest implements 
030:                org.apache.axis2.databinding.ADBBean {
031:
032:            public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName(
033:                    "http://www.wso2.com/types", "createAccountRequest", "ns1");
034:
035:            /** field for ClientInfo */
036:            protected ClientInfo localClientInfo;
037:
038:            /**
039:             * Auto generated getter method
040:             *
041:             * @return com.wso2.www.types.ClientInfo
042:             */
043:            public ClientInfo getClientInfo() {
044:                return localClientInfo;
045:            }
046:
047:            /**
048:             * Auto generated setter method
049:             *
050:             * @param param ClientInfo
051:             */
052:            public void setClientInfo(ClientInfo param) {
053:
054:                this .localClientInfo = param;
055:            }
056:
057:            /** field for Password */
058:            protected java.lang.String localPassword;
059:
060:            /**
061:             * Auto generated getter method
062:             *
063:             * @return java.lang.String
064:             */
065:            public java.lang.String getPassword() {
066:                return localPassword;
067:            }
068:
069:            /**
070:             * Auto generated setter method
071:             *
072:             * @param param Password
073:             */
074:            public void setPassword(java.lang.String param) {
075:
076:                this .localPassword = param;
077:            }
078:
079:            /** databinding method to get an XML representation of this object */
080:            public javax.xml.stream.XMLStreamReader getPullParser(
081:                    javax.xml.namespace.QName qName) {
082:
083:                java.util.ArrayList elementList = new java.util.ArrayList();
084:                java.util.ArrayList attribList = new java.util.ArrayList();
085:
086:                elementList.add(new javax.xml.namespace.QName(
087:                        "http://www.wso2.com/types", "clientinfo"));
088:                elementList.add(localClientInfo);
089:
090:                elementList.add(new javax.xml.namespace.QName("", "password"));
091:                elementList
092:                        .add(org.apache.axis2.databinding.utils.ConverterUtil
093:                                .convertToString(localPassword));
094:
095:                return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(
096:                        qName, elementList.toArray(), attribList.toArray());
097:
098:            }
099:
100:            /** Factory class that keeps the parse method */
101:            public static class Factory {
102:                /** static method to create the object */
103:                public static CreateAccountRequest parse(
104:                        javax.xml.stream.XMLStreamReader reader)
105:                        throws java.lang.Exception {
106:                    CreateAccountRequest object = new CreateAccountRequest();
107:                    try {
108:                        int event = reader.getEventType();
109:                        int count = 0;
110:                        int argumentCount = 2;
111:                        boolean done = false;
112:                        // event better be a START_ELEMENT. if not we should go up to
113:                        // the start element here
114:                        while (!reader.isStartElement()) {
115:                            event = reader.next();
116:                        }
117:
118:                        while (!done) {
119:                            if (javax.xml.stream.XMLStreamConstants.START_ELEMENT == event) {
120:
121:                                if ("clientinfo".equals(reader.getLocalName())) {
122:
123:                                    object.setClientInfo(ClientInfo.Factory
124:                                            .parse(reader));
125:                                    count++;
126:
127:                                }
128:
129:                                if ("password".equals(reader.getLocalName())) {
130:
131:                                    String content = reader.getElementText();
132:                                    object
133:                                            .setPassword(org.apache.axis2.databinding.utils.ConverterUtil
134:                                                    .convertToString(content));
135:                                    count++;
136:
137:                                }
138:
139:                            }
140:
141:                            if (argumentCount == count) {
142:                                done = true;
143:                            }
144:
145:                            if (!done) {
146:                                event = reader.next();
147:                            }
148:
149:                        }
150:
151:                    } catch (javax.xml.stream.XMLStreamException e) {
152:                        throw new java.lang.Exception(e);
153:                    }
154:
155:                    return object;
156:                }
157:            }// end of factory class
158:
159:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.