Source Code Cross Referenced for MarkupType.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:         * MarkupType.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 MarkupType implements  java.io.Serializable {
009:            private java.lang.String mimeType;
010:            private java.lang.String[] modes;
011:            private java.lang.String[] windowStates;
012:            private java.lang.String[] locales;
013:            private oasis.names.tc.wsrp.v1.types.Extension[] extensions;
014:
015:            public MarkupType() {
016:            }
017:
018:            public MarkupType(
019:                    oasis.names.tc.wsrp.v1.types.Extension[] extensions,
020:                    java.lang.String[] locales, java.lang.String mimeType,
021:                    java.lang.String[] modes, java.lang.String[] windowStates) {
022:                this .mimeType = mimeType;
023:                this .modes = modes;
024:                this .windowStates = windowStates;
025:                this .locales = locales;
026:                this .extensions = extensions;
027:            }
028:
029:            /**
030:             * Gets the mimeType value for this MarkupType.
031:             * 
032:             * @return mimeType
033:             */
034:            public java.lang.String getMimeType() {
035:                return mimeType;
036:            }
037:
038:            /**
039:             * Sets the mimeType value for this MarkupType.
040:             * 
041:             * @param mimeType
042:             */
043:            public void setMimeType(java.lang.String mimeType) {
044:                this .mimeType = mimeType;
045:            }
046:
047:            /**
048:             * Gets the modes value for this MarkupType.
049:             * 
050:             * @return modes
051:             */
052:            public java.lang.String[] getModes() {
053:                return modes;
054:            }
055:
056:            /**
057:             * Sets the modes value for this MarkupType.
058:             * 
059:             * @param modes
060:             */
061:            public void setModes(java.lang.String[] modes) {
062:                this .modes = modes;
063:            }
064:
065:            public java.lang.String getModes(int i) {
066:                return this .modes[i];
067:            }
068:
069:            public void setModes(int i, java.lang.String _value) {
070:                this .modes[i] = _value;
071:            }
072:
073:            /**
074:             * Gets the windowStates value for this MarkupType.
075:             * 
076:             * @return windowStates
077:             */
078:            public java.lang.String[] getWindowStates() {
079:                return windowStates;
080:            }
081:
082:            /**
083:             * Sets the windowStates value for this MarkupType.
084:             * 
085:             * @param windowStates
086:             */
087:            public void setWindowStates(java.lang.String[] windowStates) {
088:                this .windowStates = windowStates;
089:            }
090:
091:            public java.lang.String getWindowStates(int i) {
092:                return this .windowStates[i];
093:            }
094:
095:            public void setWindowStates(int i, java.lang.String _value) {
096:                this .windowStates[i] = _value;
097:            }
098:
099:            /**
100:             * Gets the locales value for this MarkupType.
101:             * 
102:             * @return locales
103:             */
104:            public java.lang.String[] getLocales() {
105:                return locales;
106:            }
107:
108:            /**
109:             * Sets the locales value for this MarkupType.
110:             * 
111:             * @param locales
112:             */
113:            public void setLocales(java.lang.String[] locales) {
114:                this .locales = locales;
115:            }
116:
117:            public java.lang.String getLocales(int i) {
118:                return this .locales[i];
119:            }
120:
121:            public void setLocales(int i, java.lang.String _value) {
122:                this .locales[i] = _value;
123:            }
124:
125:            /**
126:             * Gets the extensions value for this MarkupType.
127:             * 
128:             * @return extensions
129:             */
130:            public oasis.names.tc.wsrp.v1.types.Extension[] getExtensions() {
131:                return extensions;
132:            }
133:
134:            /**
135:             * Sets the extensions value for this MarkupType.
136:             * 
137:             * @param extensions
138:             */
139:            public void setExtensions(
140:                    oasis.names.tc.wsrp.v1.types.Extension[] extensions) {
141:                this .extensions = extensions;
142:            }
143:
144:            public oasis.names.tc.wsrp.v1.types.Extension getExtensions(int i) {
145:                return this .extensions[i];
146:            }
147:
148:            public void setExtensions(int i,
149:                    oasis.names.tc.wsrp.v1.types.Extension _value) {
150:                this .extensions[i] = _value;
151:            }
152:
153:            private java.lang.Object __equalsCalc = null;
154:
155:            public synchronized boolean equals(java.lang.Object obj) {
156:                if (!(obj instanceof  MarkupType))
157:                    return false;
158:                MarkupType other = (MarkupType) obj;
159:                if (obj == null)
160:                    return false;
161:                if (this  == obj)
162:                    return true;
163:                if (__equalsCalc != null) {
164:                    return (__equalsCalc == obj);
165:                }
166:                __equalsCalc = obj;
167:                boolean _equals;
168:                _equals = true
169:                        && ((this .mimeType == null && other.getMimeType() == null) || (this .mimeType != null && this .mimeType
170:                                .equals(other.getMimeType())))
171:                        && ((this .modes == null && other.getModes() == null) || (this .modes != null && java.util.Arrays
172:                                .equals(this .modes, other.getModes())))
173:                        && ((this .windowStates == null && other
174:                                .getWindowStates() == null) || (this .windowStates != null && java.util.Arrays
175:                                .equals(this .windowStates, other
176:                                        .getWindowStates())))
177:                        && ((this .locales == null && other.getLocales() == null) || (this .locales != null && java.util.Arrays
178:                                .equals(this .locales, other.getLocales())))
179:                        && ((this .extensions == null && other.getExtensions() == null) || (this .extensions != null && java.util.Arrays
180:                                .equals(this .extensions, other.getExtensions())));
181:                __equalsCalc = null;
182:                return _equals;
183:            }
184:
185:            private boolean __hashCodeCalc = false;
186:
187:            public synchronized int hashCode() {
188:                if (__hashCodeCalc) {
189:                    return 0;
190:                }
191:                __hashCodeCalc = true;
192:                int _hashCode = 1;
193:                if (getMimeType() != null) {
194:                    _hashCode += getMimeType().hashCode();
195:                }
196:                if (getModes() != null) {
197:                    for (int i = 0; i < java.lang.reflect.Array
198:                            .getLength(getModes()); i++) {
199:                        java.lang.Object obj = java.lang.reflect.Array.get(
200:                                getModes(), i);
201:                        if (obj != null && !obj.getClass().isArray()) {
202:                            _hashCode += obj.hashCode();
203:                        }
204:                    }
205:                }
206:                if (getWindowStates() != null) {
207:                    for (int i = 0; i < java.lang.reflect.Array
208:                            .getLength(getWindowStates()); i++) {
209:                        java.lang.Object obj = java.lang.reflect.Array.get(
210:                                getWindowStates(), i);
211:                        if (obj != null && !obj.getClass().isArray()) {
212:                            _hashCode += obj.hashCode();
213:                        }
214:                    }
215:                }
216:                if (getLocales() != null) {
217:                    for (int i = 0; i < java.lang.reflect.Array
218:                            .getLength(getLocales()); i++) {
219:                        java.lang.Object obj = java.lang.reflect.Array.get(
220:                                getLocales(), i);
221:                        if (obj != null && !obj.getClass().isArray()) {
222:                            _hashCode += obj.hashCode();
223:                        }
224:                    }
225:                }
226:                if (getExtensions() != null) {
227:                    for (int i = 0; i < java.lang.reflect.Array
228:                            .getLength(getExtensions()); i++) {
229:                        java.lang.Object obj = java.lang.reflect.Array.get(
230:                                getExtensions(), i);
231:                        if (obj != null && !obj.getClass().isArray()) {
232:                            _hashCode += obj.hashCode();
233:                        }
234:                    }
235:                }
236:                __hashCodeCalc = false;
237:                return _hashCode;
238:            }
239:
240:            // Type metadata
241:            private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
242:                    MarkupType.class, true);
243:
244:            static {
245:                typeDesc.setXmlType(new javax.xml.namespace.QName(
246:                        "urn:oasis:names:tc:wsrp:v1:types", "MarkupType"));
247:                org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
248:                elemField.setFieldName("mimeType");
249:                elemField.setXmlName(new javax.xml.namespace.QName(
250:                        "urn:oasis:names:tc:wsrp:v1:types", "mimeType"));
251:                elemField.setXmlType(new javax.xml.namespace.QName(
252:                        "http://www.w3.org/2001/XMLSchema", "string"));
253:                typeDesc.addFieldDesc(elemField);
254:                elemField = new org.apache.axis.description.ElementDesc();
255:                elemField.setFieldName("modes");
256:                elemField.setXmlName(new javax.xml.namespace.QName(
257:                        "urn:oasis:names:tc:wsrp:v1:types", "modes"));
258:                elemField.setXmlType(new javax.xml.namespace.QName(
259:                        "http://www.w3.org/2001/XMLSchema", "string"));
260:                typeDesc.addFieldDesc(elemField);
261:                elemField = new org.apache.axis.description.ElementDesc();
262:                elemField.setFieldName("windowStates");
263:                elemField.setXmlName(new javax.xml.namespace.QName(
264:                        "urn:oasis:names:tc:wsrp:v1:types", "windowStates"));
265:                elemField.setXmlType(new javax.xml.namespace.QName(
266:                        "http://www.w3.org/2001/XMLSchema", "string"));
267:                typeDesc.addFieldDesc(elemField);
268:                elemField = new org.apache.axis.description.ElementDesc();
269:                elemField.setFieldName("locales");
270:                elemField.setXmlName(new javax.xml.namespace.QName(
271:                        "urn:oasis:names:tc:wsrp:v1:types", "locales"));
272:                elemField.setXmlType(new javax.xml.namespace.QName(
273:                        "http://www.w3.org/2001/XMLSchema", "string"));
274:                elemField.setMinOccurs(0);
275:                typeDesc.addFieldDesc(elemField);
276:                elemField = new org.apache.axis.description.ElementDesc();
277:                elemField.setFieldName("extensions");
278:                elemField.setXmlName(new javax.xml.namespace.QName(
279:                        "urn:oasis:names:tc:wsrp:v1:types", "extensions"));
280:                elemField.setXmlType(new javax.xml.namespace.QName(
281:                        "urn:oasis:names:tc:wsrp:v1:types", "Extension"));
282:                elemField.setMinOccurs(0);
283:                typeDesc.addFieldDesc(elemField);
284:            }
285:
286:            /**
287:             * Return type metadata object
288:             */
289:            public static org.apache.axis.description.TypeDesc getTypeDesc() {
290:                return typeDesc;
291:            }
292:
293:            /**
294:             * Get Custom Serializer
295:             */
296:            public static org.apache.axis.encoding.Serializer getSerializer(
297:                    java.lang.String mechType, java.lang.Class _javaType,
298:                    javax.xml.namespace.QName _xmlType) {
299:                return new org.apache.axis.encoding.ser.BeanSerializer(
300:                        _javaType, _xmlType, typeDesc);
301:            }
302:
303:            /**
304:             * Get Custom Deserializer
305:             */
306:            public static org.apache.axis.encoding.Deserializer getDeserializer(
307:                    java.lang.String mechType, java.lang.Class _javaType,
308:                    javax.xml.namespace.QName _xmlType) {
309:                return new org.apache.axis.encoding.ser.BeanDeserializer(
310:                        _javaType, _xmlType, typeDesc);
311:            }
312:
313:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.