Source Code Cross Referenced for MarkupParams.java in  » Portal » liferay-portal-4.4.2 » oasis » names » tc » wsrp » v1 » types » 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 » Portal » liferay portal 4.4.2 » oasis.names.tc.wsrp.v1.types 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * MarkupParams.java
003:         *
004:         * This file was auto-generated from WSDL
005:         * by the Apache Axis 1.2RC3 Feb 28, 2005 (10:15:14 EST) WSDL2Java emitter.
006:         */package oasis.names.tc.wsrp.v1.types;
007:
008:        public class MarkupParams implements  java.io.Serializable {
009:            private boolean secureClientCommunication;
010:            private java.lang.String[] locales;
011:            private java.lang.String[] mimeTypes;
012:            private java.lang.String mode;
013:            private java.lang.String windowState;
014:            private oasis.names.tc.wsrp.v1.types.ClientData clientData;
015:            private java.lang.String navigationalState;
016:            private java.lang.String[] markupCharacterSets;
017:            private java.lang.String validateTag;
018:            private java.lang.String[] validNewModes;
019:            private java.lang.String[] validNewWindowStates;
020:            private oasis.names.tc.wsrp.v1.types.Extension[] extensions;
021:
022:            public MarkupParams() {
023:            }
024:
025:            public MarkupParams(
026:                    oasis.names.tc.wsrp.v1.types.ClientData clientData,
027:                    oasis.names.tc.wsrp.v1.types.Extension[] extensions,
028:                    java.lang.String[] locales,
029:                    java.lang.String[] markupCharacterSets,
030:                    java.lang.String[] mimeTypes, java.lang.String mode,
031:                    java.lang.String navigationalState,
032:                    boolean secureClientCommunication,
033:                    java.lang.String[] validNewModes,
034:                    java.lang.String[] validNewWindowStates,
035:                    java.lang.String validateTag, java.lang.String windowState) {
036:                this .secureClientCommunication = secureClientCommunication;
037:                this .locales = locales;
038:                this .mimeTypes = mimeTypes;
039:                this .mode = mode;
040:                this .windowState = windowState;
041:                this .clientData = clientData;
042:                this .navigationalState = navigationalState;
043:                this .markupCharacterSets = markupCharacterSets;
044:                this .validateTag = validateTag;
045:                this .validNewModes = validNewModes;
046:                this .validNewWindowStates = validNewWindowStates;
047:                this .extensions = extensions;
048:            }
049:
050:            /**
051:             * Gets the secureClientCommunication value for this MarkupParams.
052:             * 
053:             * @return secureClientCommunication
054:             */
055:            public boolean isSecureClientCommunication() {
056:                return secureClientCommunication;
057:            }
058:
059:            /**
060:             * Sets the secureClientCommunication value for this MarkupParams.
061:             * 
062:             * @param secureClientCommunication
063:             */
064:            public void setSecureClientCommunication(
065:                    boolean secureClientCommunication) {
066:                this .secureClientCommunication = secureClientCommunication;
067:            }
068:
069:            /**
070:             * Gets the locales value for this MarkupParams.
071:             * 
072:             * @return locales
073:             */
074:            public java.lang.String[] getLocales() {
075:                return locales;
076:            }
077:
078:            /**
079:             * Sets the locales value for this MarkupParams.
080:             * 
081:             * @param locales
082:             */
083:            public void setLocales(java.lang.String[] locales) {
084:                this .locales = locales;
085:            }
086:
087:            public java.lang.String getLocales(int i) {
088:                return this .locales[i];
089:            }
090:
091:            public void setLocales(int i, java.lang.String _value) {
092:                this .locales[i] = _value;
093:            }
094:
095:            /**
096:             * Gets the mimeTypes value for this MarkupParams.
097:             * 
098:             * @return mimeTypes
099:             */
100:            public java.lang.String[] getMimeTypes() {
101:                return mimeTypes;
102:            }
103:
104:            /**
105:             * Sets the mimeTypes value for this MarkupParams.
106:             * 
107:             * @param mimeTypes
108:             */
109:            public void setMimeTypes(java.lang.String[] mimeTypes) {
110:                this .mimeTypes = mimeTypes;
111:            }
112:
113:            public java.lang.String getMimeTypes(int i) {
114:                return this .mimeTypes[i];
115:            }
116:
117:            public void setMimeTypes(int i, java.lang.String _value) {
118:                this .mimeTypes[i] = _value;
119:            }
120:
121:            /**
122:             * Gets the mode value for this MarkupParams.
123:             * 
124:             * @return mode
125:             */
126:            public java.lang.String getMode() {
127:                return mode;
128:            }
129:
130:            /**
131:             * Sets the mode value for this MarkupParams.
132:             * 
133:             * @param mode
134:             */
135:            public void setMode(java.lang.String mode) {
136:                this .mode = mode;
137:            }
138:
139:            /**
140:             * Gets the windowState value for this MarkupParams.
141:             * 
142:             * @return windowState
143:             */
144:            public java.lang.String getWindowState() {
145:                return windowState;
146:            }
147:
148:            /**
149:             * Sets the windowState value for this MarkupParams.
150:             * 
151:             * @param windowState
152:             */
153:            public void setWindowState(java.lang.String windowState) {
154:                this .windowState = windowState;
155:            }
156:
157:            /**
158:             * Gets the clientData value for this MarkupParams.
159:             * 
160:             * @return clientData
161:             */
162:            public oasis.names.tc.wsrp.v1.types.ClientData getClientData() {
163:                return clientData;
164:            }
165:
166:            /**
167:             * Sets the clientData value for this MarkupParams.
168:             * 
169:             * @param clientData
170:             */
171:            public void setClientData(
172:                    oasis.names.tc.wsrp.v1.types.ClientData clientData) {
173:                this .clientData = clientData;
174:            }
175:
176:            /**
177:             * Gets the navigationalState value for this MarkupParams.
178:             * 
179:             * @return navigationalState
180:             */
181:            public java.lang.String getNavigationalState() {
182:                return navigationalState;
183:            }
184:
185:            /**
186:             * Sets the navigationalState value for this MarkupParams.
187:             * 
188:             * @param navigationalState
189:             */
190:            public void setNavigationalState(java.lang.String navigationalState) {
191:                this .navigationalState = navigationalState;
192:            }
193:
194:            /**
195:             * Gets the markupCharacterSets value for this MarkupParams.
196:             * 
197:             * @return markupCharacterSets
198:             */
199:            public java.lang.String[] getMarkupCharacterSets() {
200:                return markupCharacterSets;
201:            }
202:
203:            /**
204:             * Sets the markupCharacterSets value for this MarkupParams.
205:             * 
206:             * @param markupCharacterSets
207:             */
208:            public void setMarkupCharacterSets(
209:                    java.lang.String[] markupCharacterSets) {
210:                this .markupCharacterSets = markupCharacterSets;
211:            }
212:
213:            public java.lang.String getMarkupCharacterSets(int i) {
214:                return this .markupCharacterSets[i];
215:            }
216:
217:            public void setMarkupCharacterSets(int i, java.lang.String _value) {
218:                this .markupCharacterSets[i] = _value;
219:            }
220:
221:            /**
222:             * Gets the validateTag value for this MarkupParams.
223:             * 
224:             * @return validateTag
225:             */
226:            public java.lang.String getValidateTag() {
227:                return validateTag;
228:            }
229:
230:            /**
231:             * Sets the validateTag value for this MarkupParams.
232:             * 
233:             * @param validateTag
234:             */
235:            public void setValidateTag(java.lang.String validateTag) {
236:                this .validateTag = validateTag;
237:            }
238:
239:            /**
240:             * Gets the validNewModes value for this MarkupParams.
241:             * 
242:             * @return validNewModes
243:             */
244:            public java.lang.String[] getValidNewModes() {
245:                return validNewModes;
246:            }
247:
248:            /**
249:             * Sets the validNewModes value for this MarkupParams.
250:             * 
251:             * @param validNewModes
252:             */
253:            public void setValidNewModes(java.lang.String[] validNewModes) {
254:                this .validNewModes = validNewModes;
255:            }
256:
257:            public java.lang.String getValidNewModes(int i) {
258:                return this .validNewModes[i];
259:            }
260:
261:            public void setValidNewModes(int i, java.lang.String _value) {
262:                this .validNewModes[i] = _value;
263:            }
264:
265:            /**
266:             * Gets the validNewWindowStates value for this MarkupParams.
267:             * 
268:             * @return validNewWindowStates
269:             */
270:            public java.lang.String[] getValidNewWindowStates() {
271:                return validNewWindowStates;
272:            }
273:
274:            /**
275:             * Sets the validNewWindowStates value for this MarkupParams.
276:             * 
277:             * @param validNewWindowStates
278:             */
279:            public void setValidNewWindowStates(
280:                    java.lang.String[] validNewWindowStates) {
281:                this .validNewWindowStates = validNewWindowStates;
282:            }
283:
284:            public java.lang.String getValidNewWindowStates(int i) {
285:                return this .validNewWindowStates[i];
286:            }
287:
288:            public void setValidNewWindowStates(int i, java.lang.String _value) {
289:                this .validNewWindowStates[i] = _value;
290:            }
291:
292:            /**
293:             * Gets the extensions value for this MarkupParams.
294:             * 
295:             * @return extensions
296:             */
297:            public oasis.names.tc.wsrp.v1.types.Extension[] getExtensions() {
298:                return extensions;
299:            }
300:
301:            /**
302:             * Sets the extensions value for this MarkupParams.
303:             * 
304:             * @param extensions
305:             */
306:            public void setExtensions(
307:                    oasis.names.tc.wsrp.v1.types.Extension[] extensions) {
308:                this .extensions = extensions;
309:            }
310:
311:            public oasis.names.tc.wsrp.v1.types.Extension getExtensions(int i) {
312:                return this .extensions[i];
313:            }
314:
315:            public void setExtensions(int i,
316:                    oasis.names.tc.wsrp.v1.types.Extension _value) {
317:                this .extensions[i] = _value;
318:            }
319:
320:            private java.lang.Object __equalsCalc = null;
321:
322:            public synchronized boolean equals(java.lang.Object obj) {
323:                if (!(obj instanceof  MarkupParams))
324:                    return false;
325:                MarkupParams other = (MarkupParams) obj;
326:                if (obj == null)
327:                    return false;
328:                if (this  == obj)
329:                    return true;
330:                if (__equalsCalc != null) {
331:                    return (__equalsCalc == obj);
332:                }
333:                __equalsCalc = obj;
334:                boolean _equals;
335:                _equals = true
336:                        && this .secureClientCommunication == other
337:                                .isSecureClientCommunication()
338:                        && ((this .locales == null && other.getLocales() == null) || (this .locales != null && java.util.Arrays
339:                                .equals(this .locales, other.getLocales())))
340:                        && ((this .mimeTypes == null && other.getMimeTypes() == null) || (this .mimeTypes != null && java.util.Arrays
341:                                .equals(this .mimeTypes, other.getMimeTypes())))
342:                        && ((this .mode == null && other.getMode() == null) || (this .mode != null && this .mode
343:                                .equals(other.getMode())))
344:                        && ((this .windowState == null && other.getWindowState() == null) || (this .windowState != null && this .windowState
345:                                .equals(other.getWindowState())))
346:                        && ((this .clientData == null && other.getClientData() == null) || (this .clientData != null && this .clientData
347:                                .equals(other.getClientData())))
348:                        && ((this .navigationalState == null && other
349:                                .getNavigationalState() == null) || (this .navigationalState != null && this .navigationalState
350:                                .equals(other.getNavigationalState())))
351:                        && ((this .markupCharacterSets == null && other
352:                                .getMarkupCharacterSets() == null) || (this .markupCharacterSets != null && java.util.Arrays
353:                                .equals(this .markupCharacterSets, other
354:                                        .getMarkupCharacterSets())))
355:                        && ((this .validateTag == null && other.getValidateTag() == null) || (this .validateTag != null && this .validateTag
356:                                .equals(other.getValidateTag())))
357:                        && ((this .validNewModes == null && other
358:                                .getValidNewModes() == null) || (this .validNewModes != null && java.util.Arrays
359:                                .equals(this .validNewModes, other
360:                                        .getValidNewModes())))
361:                        && ((this .validNewWindowStates == null && other
362:                                .getValidNewWindowStates() == null) || (this .validNewWindowStates != null && java.util.Arrays
363:                                .equals(this .validNewWindowStates, other
364:                                        .getValidNewWindowStates())))
365:                        && ((this .extensions == null && other.getExtensions() == null) || (this .extensions != null && java.util.Arrays
366:                                .equals(this .extensions, other.getExtensions())));
367:                __equalsCalc = null;
368:                return _equals;
369:            }
370:
371:            private boolean __hashCodeCalc = false;
372:
373:            public synchronized int hashCode() {
374:                if (__hashCodeCalc) {
375:                    return 0;
376:                }
377:                __hashCodeCalc = true;
378:                int _hashCode = 1;
379:                _hashCode += (isSecureClientCommunication() ? Boolean.TRUE
380:                        : Boolean.FALSE).hashCode();
381:                if (getLocales() != null) {
382:                    for (int i = 0; i < java.lang.reflect.Array
383:                            .getLength(getLocales()); i++) {
384:                        java.lang.Object obj = java.lang.reflect.Array.get(
385:                                getLocales(), i);
386:                        if (obj != null && !obj.getClass().isArray()) {
387:                            _hashCode += obj.hashCode();
388:                        }
389:                    }
390:                }
391:                if (getMimeTypes() != null) {
392:                    for (int i = 0; i < java.lang.reflect.Array
393:                            .getLength(getMimeTypes()); i++) {
394:                        java.lang.Object obj = java.lang.reflect.Array.get(
395:                                getMimeTypes(), i);
396:                        if (obj != null && !obj.getClass().isArray()) {
397:                            _hashCode += obj.hashCode();
398:                        }
399:                    }
400:                }
401:                if (getMode() != null) {
402:                    _hashCode += getMode().hashCode();
403:                }
404:                if (getWindowState() != null) {
405:                    _hashCode += getWindowState().hashCode();
406:                }
407:                if (getClientData() != null) {
408:                    _hashCode += getClientData().hashCode();
409:                }
410:                if (getNavigationalState() != null) {
411:                    _hashCode += getNavigationalState().hashCode();
412:                }
413:                if (getMarkupCharacterSets() != null) {
414:                    for (int i = 0; i < java.lang.reflect.Array
415:                            .getLength(getMarkupCharacterSets()); i++) {
416:                        java.lang.Object obj = java.lang.reflect.Array.get(
417:                                getMarkupCharacterSets(), i);
418:                        if (obj != null && !obj.getClass().isArray()) {
419:                            _hashCode += obj.hashCode();
420:                        }
421:                    }
422:                }
423:                if (getValidateTag() != null) {
424:                    _hashCode += getValidateTag().hashCode();
425:                }
426:                if (getValidNewModes() != null) {
427:                    for (int i = 0; i < java.lang.reflect.Array
428:                            .getLength(getValidNewModes()); i++) {
429:                        java.lang.Object obj = java.lang.reflect.Array.get(
430:                                getValidNewModes(), i);
431:                        if (obj != null && !obj.getClass().isArray()) {
432:                            _hashCode += obj.hashCode();
433:                        }
434:                    }
435:                }
436:                if (getValidNewWindowStates() != null) {
437:                    for (int i = 0; i < java.lang.reflect.Array
438:                            .getLength(getValidNewWindowStates()); i++) {
439:                        java.lang.Object obj = java.lang.reflect.Array.get(
440:                                getValidNewWindowStates(), i);
441:                        if (obj != null && !obj.getClass().isArray()) {
442:                            _hashCode += obj.hashCode();
443:                        }
444:                    }
445:                }
446:                if (getExtensions() != null) {
447:                    for (int i = 0; i < java.lang.reflect.Array
448:                            .getLength(getExtensions()); i++) {
449:                        java.lang.Object obj = java.lang.reflect.Array.get(
450:                                getExtensions(), i);
451:                        if (obj != null && !obj.getClass().isArray()) {
452:                            _hashCode += obj.hashCode();
453:                        }
454:                    }
455:                }
456:                __hashCodeCalc = false;
457:                return _hashCode;
458:            }
459:
460:            // Type metadata
461:            private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
462:                    MarkupParams.class, true);
463:
464:            static {
465:                typeDesc.setXmlType(new javax.xml.namespace.QName(
466:                        "urn:oasis:names:tc:wsrp:v1:types", "MarkupParams"));
467:                org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
468:                elemField.setFieldName("secureClientCommunication");
469:                elemField.setXmlName(new javax.xml.namespace.QName(
470:                        "urn:oasis:names:tc:wsrp:v1:types",
471:                        "secureClientCommunication"));
472:                elemField.setXmlType(new javax.xml.namespace.QName(
473:                        "http://www.w3.org/2001/XMLSchema", "boolean"));
474:                typeDesc.addFieldDesc(elemField);
475:                elemField = new org.apache.axis.description.ElementDesc();
476:                elemField.setFieldName("locales");
477:                elemField.setXmlName(new javax.xml.namespace.QName(
478:                        "urn:oasis:names:tc:wsrp:v1:types", "locales"));
479:                elemField.setXmlType(new javax.xml.namespace.QName(
480:                        "http://www.w3.org/2001/XMLSchema", "string"));
481:                typeDesc.addFieldDesc(elemField);
482:                elemField = new org.apache.axis.description.ElementDesc();
483:                elemField.setFieldName("mimeTypes");
484:                elemField.setXmlName(new javax.xml.namespace.QName(
485:                        "urn:oasis:names:tc:wsrp:v1:types", "mimeTypes"));
486:                elemField.setXmlType(new javax.xml.namespace.QName(
487:                        "http://www.w3.org/2001/XMLSchema", "string"));
488:                typeDesc.addFieldDesc(elemField);
489:                elemField = new org.apache.axis.description.ElementDesc();
490:                elemField.setFieldName("mode");
491:                elemField.setXmlName(new javax.xml.namespace.QName(
492:                        "urn:oasis:names:tc:wsrp:v1:types", "mode"));
493:                elemField.setXmlType(new javax.xml.namespace.QName(
494:                        "http://www.w3.org/2001/XMLSchema", "string"));
495:                typeDesc.addFieldDesc(elemField);
496:                elemField = new org.apache.axis.description.ElementDesc();
497:                elemField.setFieldName("windowState");
498:                elemField.setXmlName(new javax.xml.namespace.QName(
499:                        "urn:oasis:names:tc:wsrp:v1:types", "windowState"));
500:                elemField.setXmlType(new javax.xml.namespace.QName(
501:                        "http://www.w3.org/2001/XMLSchema", "string"));
502:                typeDesc.addFieldDesc(elemField);
503:                elemField = new org.apache.axis.description.ElementDesc();
504:                elemField.setFieldName("clientData");
505:                elemField.setXmlName(new javax.xml.namespace.QName(
506:                        "urn:oasis:names:tc:wsrp:v1:types", "clientData"));
507:                elemField.setXmlType(new javax.xml.namespace.QName(
508:                        "urn:oasis:names:tc:wsrp:v1:types", "ClientData"));
509:                elemField.setMinOccurs(0);
510:                typeDesc.addFieldDesc(elemField);
511:                elemField = new org.apache.axis.description.ElementDesc();
512:                elemField.setFieldName("navigationalState");
513:                elemField
514:                        .setXmlName(new javax.xml.namespace.QName(
515:                                "urn:oasis:names:tc:wsrp:v1:types",
516:                                "navigationalState"));
517:                elemField.setXmlType(new javax.xml.namespace.QName(
518:                        "http://www.w3.org/2001/XMLSchema", "string"));
519:                elemField.setMinOccurs(0);
520:                typeDesc.addFieldDesc(elemField);
521:                elemField = new org.apache.axis.description.ElementDesc();
522:                elemField.setFieldName("markupCharacterSets");
523:                elemField.setXmlName(new javax.xml.namespace.QName(
524:                        "urn:oasis:names:tc:wsrp:v1:types",
525:                        "markupCharacterSets"));
526:                elemField.setXmlType(new javax.xml.namespace.QName(
527:                        "http://www.w3.org/2001/XMLSchema", "string"));
528:                elemField.setMinOccurs(0);
529:                typeDesc.addFieldDesc(elemField);
530:                elemField = new org.apache.axis.description.ElementDesc();
531:                elemField.setFieldName("validateTag");
532:                elemField.setXmlName(new javax.xml.namespace.QName(
533:                        "urn:oasis:names:tc:wsrp:v1:types", "validateTag"));
534:                elemField.setXmlType(new javax.xml.namespace.QName(
535:                        "http://www.w3.org/2001/XMLSchema", "string"));
536:                elemField.setMinOccurs(0);
537:                typeDesc.addFieldDesc(elemField);
538:                elemField = new org.apache.axis.description.ElementDesc();
539:                elemField.setFieldName("validNewModes");
540:                elemField.setXmlName(new javax.xml.namespace.QName(
541:                        "urn:oasis:names:tc:wsrp:v1:types", "validNewModes"));
542:                elemField.setXmlType(new javax.xml.namespace.QName(
543:                        "http://www.w3.org/2001/XMLSchema", "string"));
544:                elemField.setMinOccurs(0);
545:                typeDesc.addFieldDesc(elemField);
546:                elemField = new org.apache.axis.description.ElementDesc();
547:                elemField.setFieldName("validNewWindowStates");
548:                elemField.setXmlName(new javax.xml.namespace.QName(
549:                        "urn:oasis:names:tc:wsrp:v1:types",
550:                        "validNewWindowStates"));
551:                elemField.setXmlType(new javax.xml.namespace.QName(
552:                        "http://www.w3.org/2001/XMLSchema", "string"));
553:                elemField.setMinOccurs(0);
554:                typeDesc.addFieldDesc(elemField);
555:                elemField = new org.apache.axis.description.ElementDesc();
556:                elemField.setFieldName("extensions");
557:                elemField.setXmlName(new javax.xml.namespace.QName(
558:                        "urn:oasis:names:tc:wsrp:v1:types", "extensions"));
559:                elemField.setXmlType(new javax.xml.namespace.QName(
560:                        "urn:oasis:names:tc:wsrp:v1:types", "Extension"));
561:                elemField.setMinOccurs(0);
562:                typeDesc.addFieldDesc(elemField);
563:            }
564:
565:            /**
566:             * Return type metadata object
567:             */
568:            public static org.apache.axis.description.TypeDesc getTypeDesc() {
569:                return typeDesc;
570:            }
571:
572:            /**
573:             * Get Custom Serializer
574:             */
575:            public static org.apache.axis.encoding.Serializer getSerializer(
576:                    java.lang.String mechType, java.lang.Class _javaType,
577:                    javax.xml.namespace.QName _xmlType) {
578:                return new org.apache.axis.encoding.ser.BeanSerializer(
579:                        _javaType, _xmlType, typeDesc);
580:            }
581:
582:            /**
583:             * Get Custom Deserializer
584:             */
585:            public static org.apache.axis.encoding.Deserializer getDeserializer(
586:                    java.lang.String mechType, java.lang.Class _javaType,
587:                    javax.xml.namespace.QName _xmlType) {
588:                return new org.apache.axis.encoding.ser.BeanDeserializer(
589:                        _javaType, _xmlType, typeDesc);
590:            }
591:
592:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.