Source Code Cross Referenced for MarkupContext.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:         * MarkupContext.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 MarkupContext implements  java.io.Serializable {
009:            private java.lang.Boolean useCachedMarkup;
010:            private java.lang.String mimeType;
011:            private java.lang.String markupString;
012:            private byte[] markupBinary;
013:            private java.lang.String locale;
014:            private java.lang.Boolean requiresUrlRewriting;
015:            private oasis.names.tc.wsrp.v1.types.CacheControl cacheControl;
016:            private java.lang.String preferredTitle;
017:            private oasis.names.tc.wsrp.v1.types.Extension[] extensions;
018:
019:            public MarkupContext() {
020:            }
021:
022:            public MarkupContext(
023:                    oasis.names.tc.wsrp.v1.types.CacheControl cacheControl,
024:                    oasis.names.tc.wsrp.v1.types.Extension[] extensions,
025:                    java.lang.String locale, byte[] markupBinary,
026:                    java.lang.String markupString, java.lang.String mimeType,
027:                    java.lang.String preferredTitle,
028:                    java.lang.Boolean requiresUrlRewriting,
029:                    java.lang.Boolean useCachedMarkup) {
030:                this .useCachedMarkup = useCachedMarkup;
031:                this .mimeType = mimeType;
032:                this .markupString = markupString;
033:                this .markupBinary = markupBinary;
034:                this .locale = locale;
035:                this .requiresUrlRewriting = requiresUrlRewriting;
036:                this .cacheControl = cacheControl;
037:                this .preferredTitle = preferredTitle;
038:                this .extensions = extensions;
039:            }
040:
041:            /**
042:             * Gets the useCachedMarkup value for this MarkupContext.
043:             * 
044:             * @return useCachedMarkup
045:             */
046:            public java.lang.Boolean getUseCachedMarkup() {
047:                return useCachedMarkup;
048:            }
049:
050:            /**
051:             * Sets the useCachedMarkup value for this MarkupContext.
052:             * 
053:             * @param useCachedMarkup
054:             */
055:            public void setUseCachedMarkup(java.lang.Boolean useCachedMarkup) {
056:                this .useCachedMarkup = useCachedMarkup;
057:            }
058:
059:            /**
060:             * Gets the mimeType value for this MarkupContext.
061:             * 
062:             * @return mimeType
063:             */
064:            public java.lang.String getMimeType() {
065:                return mimeType;
066:            }
067:
068:            /**
069:             * Sets the mimeType value for this MarkupContext.
070:             * 
071:             * @param mimeType
072:             */
073:            public void setMimeType(java.lang.String mimeType) {
074:                this .mimeType = mimeType;
075:            }
076:
077:            /**
078:             * Gets the markupString value for this MarkupContext.
079:             * 
080:             * @return markupString
081:             */
082:            public java.lang.String getMarkupString() {
083:                return markupString;
084:            }
085:
086:            /**
087:             * Sets the markupString value for this MarkupContext.
088:             * 
089:             * @param markupString
090:             */
091:            public void setMarkupString(java.lang.String markupString) {
092:                this .markupString = markupString;
093:            }
094:
095:            /**
096:             * Gets the markupBinary value for this MarkupContext.
097:             * 
098:             * @return markupBinary
099:             */
100:            public byte[] getMarkupBinary() {
101:                return markupBinary;
102:            }
103:
104:            /**
105:             * Sets the markupBinary value for this MarkupContext.
106:             * 
107:             * @param markupBinary
108:             */
109:            public void setMarkupBinary(byte[] markupBinary) {
110:                this .markupBinary = markupBinary;
111:            }
112:
113:            /**
114:             * Gets the locale value for this MarkupContext.
115:             * 
116:             * @return locale
117:             */
118:            public java.lang.String getLocale() {
119:                return locale;
120:            }
121:
122:            /**
123:             * Sets the locale value for this MarkupContext.
124:             * 
125:             * @param locale
126:             */
127:            public void setLocale(java.lang.String locale) {
128:                this .locale = locale;
129:            }
130:
131:            /**
132:             * Gets the requiresUrlRewriting value for this MarkupContext.
133:             * 
134:             * @return requiresUrlRewriting
135:             */
136:            public java.lang.Boolean getRequiresUrlRewriting() {
137:                return requiresUrlRewriting;
138:            }
139:
140:            /**
141:             * Sets the requiresUrlRewriting value for this MarkupContext.
142:             * 
143:             * @param requiresUrlRewriting
144:             */
145:            public void setRequiresUrlRewriting(
146:                    java.lang.Boolean requiresUrlRewriting) {
147:                this .requiresUrlRewriting = requiresUrlRewriting;
148:            }
149:
150:            /**
151:             * Gets the cacheControl value for this MarkupContext.
152:             * 
153:             * @return cacheControl
154:             */
155:            public oasis.names.tc.wsrp.v1.types.CacheControl getCacheControl() {
156:                return cacheControl;
157:            }
158:
159:            /**
160:             * Sets the cacheControl value for this MarkupContext.
161:             * 
162:             * @param cacheControl
163:             */
164:            public void setCacheControl(
165:                    oasis.names.tc.wsrp.v1.types.CacheControl cacheControl) {
166:                this .cacheControl = cacheControl;
167:            }
168:
169:            /**
170:             * Gets the preferredTitle value for this MarkupContext.
171:             * 
172:             * @return preferredTitle
173:             */
174:            public java.lang.String getPreferredTitle() {
175:                return preferredTitle;
176:            }
177:
178:            /**
179:             * Sets the preferredTitle value for this MarkupContext.
180:             * 
181:             * @param preferredTitle
182:             */
183:            public void setPreferredTitle(java.lang.String preferredTitle) {
184:                this .preferredTitle = preferredTitle;
185:            }
186:
187:            /**
188:             * Gets the extensions value for this MarkupContext.
189:             * 
190:             * @return extensions
191:             */
192:            public oasis.names.tc.wsrp.v1.types.Extension[] getExtensions() {
193:                return extensions;
194:            }
195:
196:            /**
197:             * Sets the extensions value for this MarkupContext.
198:             * 
199:             * @param extensions
200:             */
201:            public void setExtensions(
202:                    oasis.names.tc.wsrp.v1.types.Extension[] extensions) {
203:                this .extensions = extensions;
204:            }
205:
206:            public oasis.names.tc.wsrp.v1.types.Extension getExtensions(int i) {
207:                return this .extensions[i];
208:            }
209:
210:            public void setExtensions(int i,
211:                    oasis.names.tc.wsrp.v1.types.Extension _value) {
212:                this .extensions[i] = _value;
213:            }
214:
215:            private java.lang.Object __equalsCalc = null;
216:
217:            public synchronized boolean equals(java.lang.Object obj) {
218:                if (!(obj instanceof  MarkupContext))
219:                    return false;
220:                MarkupContext other = (MarkupContext) obj;
221:                if (obj == null)
222:                    return false;
223:                if (this  == obj)
224:                    return true;
225:                if (__equalsCalc != null) {
226:                    return (__equalsCalc == obj);
227:                }
228:                __equalsCalc = obj;
229:                boolean _equals;
230:                _equals = true
231:                        && ((this .useCachedMarkup == null && other
232:                                .getUseCachedMarkup() == null) || (this .useCachedMarkup != null && this .useCachedMarkup
233:                                .equals(other.getUseCachedMarkup())))
234:                        && ((this .mimeType == null && other.getMimeType() == null) || (this .mimeType != null && this .mimeType
235:                                .equals(other.getMimeType())))
236:                        && ((this .markupString == null && other
237:                                .getMarkupString() == null) || (this .markupString != null && this .markupString
238:                                .equals(other.getMarkupString())))
239:                        && ((this .markupBinary == null && other
240:                                .getMarkupBinary() == null) || (this .markupBinary != null && java.util.Arrays
241:                                .equals(this .markupBinary, other
242:                                        .getMarkupBinary())))
243:                        && ((this .locale == null && other.getLocale() == null) || (this .locale != null && this .locale
244:                                .equals(other.getLocale())))
245:                        && ((this .requiresUrlRewriting == null && other
246:                                .getRequiresUrlRewriting() == null) || (this .requiresUrlRewriting != null && this .requiresUrlRewriting
247:                                .equals(other.getRequiresUrlRewriting())))
248:                        && ((this .cacheControl == null && other
249:                                .getCacheControl() == null) || (this .cacheControl != null && this .cacheControl
250:                                .equals(other.getCacheControl())))
251:                        && ((this .preferredTitle == null && other
252:                                .getPreferredTitle() == null) || (this .preferredTitle != null && this .preferredTitle
253:                                .equals(other.getPreferredTitle())))
254:                        && ((this .extensions == null && other.getExtensions() == null) || (this .extensions != null && java.util.Arrays
255:                                .equals(this .extensions, other.getExtensions())));
256:                __equalsCalc = null;
257:                return _equals;
258:            }
259:
260:            private boolean __hashCodeCalc = false;
261:
262:            public synchronized int hashCode() {
263:                if (__hashCodeCalc) {
264:                    return 0;
265:                }
266:                __hashCodeCalc = true;
267:                int _hashCode = 1;
268:                if (getUseCachedMarkup() != null) {
269:                    _hashCode += getUseCachedMarkup().hashCode();
270:                }
271:                if (getMimeType() != null) {
272:                    _hashCode += getMimeType().hashCode();
273:                }
274:                if (getMarkupString() != null) {
275:                    _hashCode += getMarkupString().hashCode();
276:                }
277:                if (getMarkupBinary() != null) {
278:                    for (int i = 0; i < java.lang.reflect.Array
279:                            .getLength(getMarkupBinary()); i++) {
280:                        java.lang.Object obj = java.lang.reflect.Array.get(
281:                                getMarkupBinary(), i);
282:                        if (obj != null && !obj.getClass().isArray()) {
283:                            _hashCode += obj.hashCode();
284:                        }
285:                    }
286:                }
287:                if (getLocale() != null) {
288:                    _hashCode += getLocale().hashCode();
289:                }
290:                if (getRequiresUrlRewriting() != null) {
291:                    _hashCode += getRequiresUrlRewriting().hashCode();
292:                }
293:                if (getCacheControl() != null) {
294:                    _hashCode += getCacheControl().hashCode();
295:                }
296:                if (getPreferredTitle() != null) {
297:                    _hashCode += getPreferredTitle().hashCode();
298:                }
299:                if (getExtensions() != null) {
300:                    for (int i = 0; i < java.lang.reflect.Array
301:                            .getLength(getExtensions()); i++) {
302:                        java.lang.Object obj = java.lang.reflect.Array.get(
303:                                getExtensions(), i);
304:                        if (obj != null && !obj.getClass().isArray()) {
305:                            _hashCode += obj.hashCode();
306:                        }
307:                    }
308:                }
309:                __hashCodeCalc = false;
310:                return _hashCode;
311:            }
312:
313:            // Type metadata
314:            private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
315:                    MarkupContext.class, true);
316:
317:            static {
318:                typeDesc.setXmlType(new javax.xml.namespace.QName(
319:                        "urn:oasis:names:tc:wsrp:v1:types", "MarkupContext"));
320:                org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
321:                elemField.setFieldName("useCachedMarkup");
322:                elemField.setXmlName(new javax.xml.namespace.QName(
323:                        "urn:oasis:names:tc:wsrp:v1:types", "useCachedMarkup"));
324:                elemField.setXmlType(new javax.xml.namespace.QName(
325:                        "http://www.w3.org/2001/XMLSchema", "boolean"));
326:                elemField.setMinOccurs(0);
327:                typeDesc.addFieldDesc(elemField);
328:                elemField = new org.apache.axis.description.ElementDesc();
329:                elemField.setFieldName("mimeType");
330:                elemField.setXmlName(new javax.xml.namespace.QName(
331:                        "urn:oasis:names:tc:wsrp:v1:types", "mimeType"));
332:                elemField.setXmlType(new javax.xml.namespace.QName(
333:                        "http://www.w3.org/2001/XMLSchema", "string"));
334:                elemField.setMinOccurs(0);
335:                typeDesc.addFieldDesc(elemField);
336:                elemField = new org.apache.axis.description.ElementDesc();
337:                elemField.setFieldName("markupString");
338:                elemField.setXmlName(new javax.xml.namespace.QName(
339:                        "urn:oasis:names:tc:wsrp:v1:types", "markupString"));
340:                elemField.setXmlType(new javax.xml.namespace.QName(
341:                        "http://www.w3.org/2001/XMLSchema", "string"));
342:                elemField.setMinOccurs(0);
343:                typeDesc.addFieldDesc(elemField);
344:                elemField = new org.apache.axis.description.ElementDesc();
345:                elemField.setFieldName("markupBinary");
346:                elemField.setXmlName(new javax.xml.namespace.QName(
347:                        "urn:oasis:names:tc:wsrp:v1:types", "markupBinary"));
348:                elemField.setXmlType(new javax.xml.namespace.QName(
349:                        "http://www.w3.org/2001/XMLSchema", "base64Binary"));
350:                elemField.setMinOccurs(0);
351:                typeDesc.addFieldDesc(elemField);
352:                elemField = new org.apache.axis.description.ElementDesc();
353:                elemField.setFieldName("locale");
354:                elemField.setXmlName(new javax.xml.namespace.QName(
355:                        "urn:oasis:names:tc:wsrp:v1:types", "locale"));
356:                elemField.setXmlType(new javax.xml.namespace.QName(
357:                        "http://www.w3.org/2001/XMLSchema", "string"));
358:                elemField.setMinOccurs(0);
359:                typeDesc.addFieldDesc(elemField);
360:                elemField = new org.apache.axis.description.ElementDesc();
361:                elemField.setFieldName("requiresUrlRewriting");
362:                elemField.setXmlName(new javax.xml.namespace.QName(
363:                        "urn:oasis:names:tc:wsrp:v1:types",
364:                        "requiresUrlRewriting"));
365:                elemField.setXmlType(new javax.xml.namespace.QName(
366:                        "http://www.w3.org/2001/XMLSchema", "boolean"));
367:                elemField.setMinOccurs(0);
368:                typeDesc.addFieldDesc(elemField);
369:                elemField = new org.apache.axis.description.ElementDesc();
370:                elemField.setFieldName("cacheControl");
371:                elemField.setXmlName(new javax.xml.namespace.QName(
372:                        "urn:oasis:names:tc:wsrp:v1:types", "cacheControl"));
373:                elemField.setXmlType(new javax.xml.namespace.QName(
374:                        "urn:oasis:names:tc:wsrp:v1:types", "CacheControl"));
375:                elemField.setMinOccurs(0);
376:                typeDesc.addFieldDesc(elemField);
377:                elemField = new org.apache.axis.description.ElementDesc();
378:                elemField.setFieldName("preferredTitle");
379:                elemField.setXmlName(new javax.xml.namespace.QName(
380:                        "urn:oasis:names:tc:wsrp:v1:types", "preferredTitle"));
381:                elemField.setXmlType(new javax.xml.namespace.QName(
382:                        "http://www.w3.org/2001/XMLSchema", "string"));
383:                elemField.setMinOccurs(0);
384:                typeDesc.addFieldDesc(elemField);
385:                elemField = new org.apache.axis.description.ElementDesc();
386:                elemField.setFieldName("extensions");
387:                elemField.setXmlName(new javax.xml.namespace.QName(
388:                        "urn:oasis:names:tc:wsrp:v1:types", "extensions"));
389:                elemField.setXmlType(new javax.xml.namespace.QName(
390:                        "urn:oasis:names:tc:wsrp:v1:types", "Extension"));
391:                elemField.setMinOccurs(0);
392:                typeDesc.addFieldDesc(elemField);
393:            }
394:
395:            /**
396:             * Return type metadata object
397:             */
398:            public static org.apache.axis.description.TypeDesc getTypeDesc() {
399:                return typeDesc;
400:            }
401:
402:            /**
403:             * Get Custom Serializer
404:             */
405:            public static org.apache.axis.encoding.Serializer getSerializer(
406:                    java.lang.String mechType, java.lang.Class _javaType,
407:                    javax.xml.namespace.QName _xmlType) {
408:                return new org.apache.axis.encoding.ser.BeanSerializer(
409:                        _javaType, _xmlType, typeDesc);
410:            }
411:
412:            /**
413:             * Get Custom Deserializer
414:             */
415:            public static org.apache.axis.encoding.Deserializer getDeserializer(
416:                    java.lang.String mechType, java.lang.Class _javaType,
417:                    javax.xml.namespace.QName _xmlType) {
418:                return new org.apache.axis.encoding.ser.BeanDeserializer(
419:                        _javaType, _xmlType, typeDesc);
420:            }
421:
422:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.