Source Code Cross Referenced for WSDL2Java.java in  » IDE-Netbeans » mobility » org » netbeans » modules » e2e » api » wsdl » wsdl2java » 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 » IDE Netbeans » mobility » org.netbeans.modules.e2e.api.wsdl.wsdl2java 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * WSDL2Java.java
003:         *
004:         * Created on October 30, 2006, 10:33 AM
005:         *
006:         * To change this template, choose Tools | Template Manager
007:         * and open the template in the editor.
008:         */
009:
010:        package org.netbeans.modules.e2e.api.wsdl.wsdl2java;
011:
012:        import java.util.List;
013:
014:        /**
015:         *
016:         * @author Michal Skvor
017:         */
018:        public interface WSDL2Java {
019:
020:            /**
021:             *  Processes wsdl and writes output files 
022:             */
023:            public boolean generate();
024:
025:            /**
026:             * Returns validation result from validation
027:             */
028:            public List<ValidationResult> validate();
029:
030:            /**
031:             * Configuration for the WSDL2Java
032:             */
033:            public static class Configuration {
034:
035:                public static final short TYPE_JAVA_BEANS = 1;
036:                public static final short TYPE_STRUCTURES = 2;
037:
038:                private String wsdlFileName;
039:                private String outputDirectory;
040:                private boolean overwriteExisting;
041:                private String packageName;
042:                private short generateType;
043:
044:                private boolean generateDataBinding;
045:
046:                public Configuration() {
047:                    generateType = TYPE_JAVA_BEANS;
048:
049:                    packageName = "";
050:                    overwriteExisting = true;
051:                    generateDataBinding = false;
052:                }
053:
054:                /**
055:                 * Sets the wsdl file
056:                 *
057:                 * @param file path to file
058:                 */
059:
060:                public void setWSDLFileName(String file) {
061:                    this .wsdlFileName = file;
062:                }
063:
064:                public String getWSDLFileName() {
065:                    return wsdlFileName;
066:                }
067:
068:                public void setOutputDirectory(String directoryName) {
069:                    this .outputDirectory = directoryName;
070:                }
071:
072:                public String getOutputDirectory() {
073:                    return outputDirectory;
074:                }
075:
076:                public void setOverwriteExistingFiles(boolean overwrite) {
077:                    this .overwriteExisting = overwrite;
078:                }
079:
080:                public boolean getOverwriteExistingFiles() {
081:                    return overwriteExisting;
082:                }
083:
084:                public void setPackageName(String packageName) {
085:                    this .packageName = packageName;
086:                }
087:
088:                public String getPackageName() {
089:                    return packageName;
090:                }
091:
092:                public void setGenerateType(short type) {
093:                    this .generateType = type;
094:                }
095:
096:                public short getGenerateType() {
097:                    return generateType;
098:                }
099:
100:                public void setGenerateDataBinding(boolean value) {
101:                    this .generateDataBinding = value;
102:                }
103:
104:                public boolean getGenerateDataBinding() {
105:                    return generateDataBinding;
106:                }
107:            }
108:
109:            /**
110:             * Result of the validation
111:             */
112:            public static final class ValidationResult {
113:
114:                public enum ErrorLevel {
115:                    FATAL, WARNING, NOTIFY
116:                };
117:
118:                private ErrorLevel errorLevel;
119:                private String message;
120:
121:                public ValidationResult(ErrorLevel errorLevel, String message) {
122:                    this .errorLevel = errorLevel;
123:                    this .message = message;
124:                }
125:
126:                public ErrorLevel getErrorLevel() {
127:                    return errorLevel;
128:                }
129:
130:                public String getMessage() {
131:                    return message;
132:                }
133:            }
134:        }
w___ww._j_a___v__a__2s__.___c_o__m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.