Java Doc for WsimportOptions.java in  » 6.0-JDK-Modules » jax-ws-tools » com » sun » tools » ws » wscompile » 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 » 6.0 JDK Modules » jax ws tools » com.sun.tools.ws.wscompile 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.tools.ws.wscompile.Options
      com.sun.tools.ws.wscompile.WsimportOptions

WsimportOptions
public class WsimportOptions extends Options (Code)

author:
   Vivek Pandey


Field Summary
public  StringdefaultPackage
     The -p option that should control the default Java package that will contain the generated code.
public  EntityResolverentityResolver
     Actually stores com.sun.org.apache.xml.internal.resolver.tools.CatalogResolver , but the field type is made to org.xml.sax.EntityResolver so that XJC can be used even if resolver.jar is not available in the classpath.
public  booleannoAddressingBbinding
     -Xno-addressing-databinding option to disable addressing namespace data binding.
public  StringwsdlLocation
    


Method Summary
public  voidaddBindings(String name)
    
protected  voidaddFile(String arg)
    
public  voidaddGrammarRecursive(File dir)
     Recursively scan directories and add all XSD files in it.
public  voidaddHandlerChainConfiguration(Element config)
    
public  voidaddSchema(File source)
    
public  voidaddSchema(InputSource is)
    
public  voidaddSchemmaBindFile(InputSource is)
    
public  voidaddWSDL(File source)
    
public  voidaddWSDL(InputSource is)
    
public  voidaddWSDLBindFile(InputSource is)
     Adds a new input schema.
public  JCodeModelgetCodeModel()
    
public  ElementgetHandlerChainConfiguration()
     There is supposed to be one handler chain per generated SEI. TODO: There is possible bug, how to associate a @HandlerChain with each port on the generated SEI.
public  InputSource[]getSchemaBindings()
    
public  SchemaCompilergetSchemaCompiler()
    
public  InputSource[]getSchemas()
    
public  InputSource[]getWSDLBindings()
    
public  InputSource[]getWSDLs()
    
public  intparseArguments(String[] args, int i)
    
final public  voidparseBindings(ErrorReceiver receiver)
     Exposing it as a public method to allow external tools such as NB to read from wsdl model and work on it. TODO: WSDL model needs to be exposed - basically at tool time we need to use the runtimw wsdl model Binding files could be jaxws or jaxb.
public  voidsetCodeModel(JCodeModel codeModel)
    
public  voidvalidate()
    

Field Detail
defaultPackage
public String defaultPackage(Code)
The -p option that should control the default Java package that will contain the generated code. Null if unspecified.



entityResolver
public EntityResolver entityResolver(Code)
Actually stores com.sun.org.apache.xml.internal.resolver.tools.CatalogResolver , but the field type is made to org.xml.sax.EntityResolver so that XJC can be used even if resolver.jar is not available in the classpath.



noAddressingBbinding
public boolean noAddressingBbinding(Code)
-Xno-addressing-databinding option to disable addressing namespace data binding. This is experimental switch and will be working as a temporary workaround till jaxb can provide a better way to selelctively disable compiling of an schema component.



wsdlLocation
public String wsdlLocation(Code)
-wsdlLocation





Method Detail
addBindings
public void addBindings(String name) throws BadCommandLineException(Code)



addFile
protected void addFile(String arg) throws BadCommandLineException(Code)



addGrammarRecursive
public void addGrammarRecursive(File dir)(Code)
Recursively scan directories and add all XSD files in it.



addHandlerChainConfiguration
public void addHandlerChainConfiguration(Element config)(Code)



addSchema
public void addSchema(File source)(Code)



addSchema
public void addSchema(InputSource is)(Code)



addSchemmaBindFile
public void addSchemmaBindFile(InputSource is)(Code)



addWSDL
public void addWSDL(File source)(Code)



addWSDL
public void addWSDL(InputSource is)(Code)



addWSDLBindFile
public void addWSDLBindFile(InputSource is)(Code)
Adds a new input schema.



getCodeModel
public JCodeModel getCodeModel()(Code)



getHandlerChainConfiguration
public Element getHandlerChainConfiguration()(Code)
There is supposed to be one handler chain per generated SEI. TODO: There is possible bug, how to associate a @HandlerChain with each port on the generated SEI. For now lets preserve the JAXWS 2.0 FCS behaviour and generate only one @HandlerChain on the SEI



getSchemaBindings
public InputSource[] getSchemaBindings()(Code)



getSchemaCompiler
public SchemaCompiler getSchemaCompiler()(Code)



getSchemas
public InputSource[] getSchemas()(Code)



getWSDLBindings
public InputSource[] getWSDLBindings()(Code)



getWSDLs
public InputSource[] getWSDLs()(Code)



parseArguments
public int parseArguments(String[] args, int i) throws BadCommandLineException(Code)



parseBindings
final public void parseBindings(ErrorReceiver receiver)(Code)
Exposing it as a public method to allow external tools such as NB to read from wsdl model and work on it. TODO: WSDL model needs to be exposed - basically at tool time we need to use the runtimw wsdl model Binding files could be jaxws or jaxb. This method identifies jaxws and jaxb binding files and keeps them separately. jaxb binding files are given separately to JAXB in com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder
Parameters:
  receiver - ErrorReceiver



setCodeModel
public void setCodeModel(JCodeModel codeModel)(Code)



validate
public void validate() throws BadCommandLineException(Code)



Fields inherited from com.sun.tools.ws.wscompile.Options
final public static int EXTENSION(Code)(Java Doc)
final public static int STRICT(Code)(Java Doc)
public String classpath(Code)(Java Doc)
public int compatibilityMode(Code)(Java Doc)
public boolean debug(Code)(Java Doc)
public boolean debugMode(Code)(Java Doc)
public File destDir(Code)(Java Doc)
public boolean keep(Code)(Java Doc)
public boolean nocompile(Code)(Java Doc)
public boolean quiet(Code)(Java Doc)
public File sourceDir(Code)(Java Doc)
public Target target(Code)(Java Doc)
public File targetDir(Code)(Java Doc)
public boolean verbose(Code)(Java Doc)

Methods inherited from com.sun.tools.ws.wscompile.Options
protected void addFile(String arg) throws BadCommandLineException(Code)(Java Doc)
public void addGeneratedFile(File file)(Code)(Java Doc)
public void deleteGeneratedFiles()(Code)(Java Doc)
public static URL fileToURL(File file)(Code)(Java Doc)
public ClassLoader getClassLoader()(Code)(Java Doc)
public Iterable<File> getGeneratedFiles()(Code)(Java Doc)
public boolean isExtensionMode()(Code)(Java Doc)
final public void parseArguments(String[] args) throws BadCommandLineException(Code)(Java Doc)
protected int parseArguments(String[] args, int i) throws BadCommandLineException(Code)(Java Doc)
public static URL[] pathToURLs(String path)(Code)(Java Doc)
public void removeGeneratedFiles()(Code)(Java Doc)
public String requireArgument(String optionName, String[] args, int i) throws BadCommandLineException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.