Java Doc for WSDLModelerBase.java in  » 6.0-JDK-Modules-com.sun » tools » com » sun » tools » internal » ws » processor » modeler » wsdl » 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 com.sun » tools » com.sun.tools.internal.ws.processor.modeler.wsdl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.tools.internal.ws.processor.modeler.wsdl.WSDLModelerBase

All known Subclasses:   com.sun.tools.internal.ws.processor.modeler.wsdl.WSDLModeler,
WSDLModelerBase
abstract public class WSDLModelerBase implements Modeler(Code)

author:
   WS Development Team
author:
   Base class for WSDL->Model classes.

Inner Class :public class ProcessSOAPOperationInfo
Inner Class :public static class WSDLExceptionInfo

Field Summary
final public static  StringMESSAGE_HAS_MIME_MULTIPART_RELATED_BINDING
    
final protected static  StringOPERATION_HAS_VOID_RETURN_TYPE
    
final protected static  StringWSDL_PARAMETER_ORDER
    
final public static  StringWSDL_RESULT_PARAMETER
    
protected  Map<QName, Port>_bindingNameToPortMap
    
protected  Map_faultTypeToStructureMap
    
protected  Map_javaExceptions
    
protected  JavaSimpleTypeCreator_javaTypes
    
protected  LocalizableMessageFactory_messageFactory
    
protected  WSDLModelInfo_modelInfo
    
protected  Properties_options
    
protected  WSDLDocumentdocument
    
protected  HashSethSet
    
protected  ProcessSOAPOperationInfoinfo
    
protected  WSDLParserparser
    
protected  booleanuseWSIBasicProfile
    

Constructor Summary
public  WSDLModelerBase(WSDLModelInfo modelInfo, Properties options)
    

Method Summary
protected  voidapplyPortMethodCustomization(Port port, com.sun.tools.internal.ws.wsdl.document.Port wsdlPort)
    
public  ModelbuildModel()
     Builds model from WSDL document.
protected  voidcheckNotWsdlElement(Element e)
    
protected  voidcreateParentFault(Fault fault)
    
protected  voidcreateSubfaults(Fault fault)
    
protected  WSDLParsercreateWSDLParser()
    
protected  voiderror(String key, String arg)
    
protected static  com.sun.tools.internal.ws.wsdl.document.MessagefindMessage(QName messageName, ProcessSOAPOperationInfo info)
    
protected  List<String>getAlternateMimeTypes(List<MIMEContent> mimeContents)
    
protected  ExtensiongetAnyExtensionOfType(Extensible extensible, Class type)
    
protected  DocumentationgetDocumentationFor(Element e)
    
protected  SetgetDuplicateFaultNames()
    
protected  ProcessorEnvironmentgetEnvironment()
    
protected static  ExtensiongetExtensionOfType(Extensible extensible, Class type)
    
protected  List<SOAPHeader>getHeaderExtensions(Extensible extensible)
    
protected  com.sun.tools.internal.ws.wsdl.document.MessagegetInputMessage()
    
protected  StringgetLiteralJavaMemberName(Fault fault)
    
protected  ListgetMessageParts(SOAPBody body, com.sun.tools.internal.ws.wsdl.document.Message message, boolean isInput)
    
protected  ListgetMimeContentParts(Message message, Extensible ext)
    
protected  List<MIMEContent>getMimeContents(MIMEPart part)
    
protected  List<MIMEContent>getMimeContents(Extensible ext, Message message, String name)
    
protected  Iterator<MIMEPart>getMimeParts(Extensible ext)
    
protected  StringgetNonQualifiedNameFor(QName name)
    
protected  com.sun.tools.internal.ws.wsdl.document.MessagegetOutputMessage()
    
public  ProcessorEnvironmentgetProcessorEnvironment()
    
protected static  QNamegetQNameOf(GloballyKnown entity)
    
protected  StringgetRequestNamespaceURI(SOAPBody body)
    
protected  StringgetResponseNamespaceURI(SOAPBody body)
    
protected  SOAPBodygetSOAPRequestBody()
    
protected  SOAPBodygetSOAPResponseBody()
    
protected  StringgetUniqueClassName(String className)
    
protected  StringgetUniqueName(com.sun.tools.internal.ws.wsdl.document.Operation operation, boolean hasOverloadedOperations)
    
protected  StringgetUniqueParameterName(Operation operation, String baseName)
    
protected  WSDLModelInfogetWSDLModelInfo()
    
protected  voidinfo(String key)
    
protected  voidinfo(String key, String arg)
    
protected  booleanisConflictingClassName(String name)
    
protected  booleanisConflictingExceptionClassName(String name)
    
protected  booleanisConflictingPortClassName(String name)
    
protected  booleanisConflictingServiceClassName(String name)
    
protected  booleanisConflictingStubClassName(String name)
    
protected  booleanisConflictingTieClassName(String name)
    
protected  booleanisProvider(com.sun.tools.internal.ws.wsdl.document.Port wsdlPort)
    
protected  booleanisRequestMimeMultipart()
    
protected  booleanisResponseMimeMultipart()
    
protected  booleanisStyleAndPartMatch(SOAPOperation soapOperation, MessagePart part)
     For Document/Lit the wsdl:part should only have element attribute and for RPC/Lit or RPC/Encoded the wsdl:part should only have type attribute inside wsdl:message.
protected  StringmakeNameUniqueInSet(String candidateName, Set names)
    
protected  StringmakePackageQualified(String s, QName name)
    
protected  StringmakePackageQualified(String s, QName name, boolean useNamespaceMapping)
    
protected  QNamemakePackageQualified(QName name)
    
protected  QNamemakePackageQualified(QName name, boolean useNamespaceMapping)
    
protected static  voidsetDocumentationIfPresent(ModelObject obj, Documentation documentation)
    
protected static  booleantokenListContains(String tokenList, String target)
    
protected  booleanvalidateBodyParts(BindingOperation operation)
    
protected  booleanvalidateMimeParts(Iterator mimeParts)
    
protected  voidwarn(Localizable msg)
    
protected  voidwarn(String key)
    
protected  voidwarn(String key, String arg)
    
protected  voidwarn(String key, Object[] args)
    

Field Detail
MESSAGE_HAS_MIME_MULTIPART_RELATED_BINDING
final public static String MESSAGE_HAS_MIME_MULTIPART_RELATED_BINDING(Code)



OPERATION_HAS_VOID_RETURN_TYPE
final protected static String OPERATION_HAS_VOID_RETURN_TYPE(Code)



WSDL_PARAMETER_ORDER
final protected static String WSDL_PARAMETER_ORDER(Code)



WSDL_RESULT_PARAMETER
final public static String WSDL_RESULT_PARAMETER(Code)



_bindingNameToPortMap
protected Map<QName, Port> _bindingNameToPortMap(Code)



_faultTypeToStructureMap
protected Map _faultTypeToStructureMap(Code)



_javaExceptions
protected Map _javaExceptions(Code)



_javaTypes
protected JavaSimpleTypeCreator _javaTypes(Code)



_messageFactory
protected LocalizableMessageFactory _messageFactory(Code)



_modelInfo
protected WSDLModelInfo _modelInfo(Code)



_options
protected Properties _options(Code)



document
protected WSDLDocument document(Code)



hSet
protected HashSet hSet(Code)



info
protected ProcessSOAPOperationInfo info(Code)



parser
protected WSDLParser parser(Code)



useWSIBasicProfile
protected boolean useWSIBasicProfile(Code)




Constructor Detail
WSDLModelerBase
public WSDLModelerBase(WSDLModelInfo modelInfo, Properties options)(Code)




Method Detail
applyPortMethodCustomization
protected void applyPortMethodCustomization(Port port, com.sun.tools.internal.ws.wsdl.document.Port wsdlPort)(Code)

Parameters:
  port -
Parameters:
  wsdlPort -



buildModel
public Model buildModel()(Code)
Builds model from WSDL document. Model contains abstraction which is used by the generators to generate the stub/tie/serializers etc. code.
See Also:   Modeler.buildModel



checkNotWsdlElement
protected void checkNotWsdlElement(Element e)(Code)



createParentFault
protected void createParentFault(Fault fault)(Code)



createSubfaults
protected void createSubfaults(Fault fault)(Code)



createWSDLParser
protected WSDLParser createWSDLParser()(Code)



error
protected void error(String key, String arg)(Code)



findMessage
protected static com.sun.tools.internal.ws.wsdl.document.Message findMessage(QName messageName, ProcessSOAPOperationInfo info)(Code)



getAlternateMimeTypes
protected List<String> getAlternateMimeTypes(List<MIMEContent> mimeContents)(Code)



getAnyExtensionOfType
protected Extension getAnyExtensionOfType(Extensible extensible, Class type)(Code)



getDocumentationFor
protected Documentation getDocumentationFor(Element e)(Code)



getDuplicateFaultNames
protected Set getDuplicateFaultNames()(Code)



getEnvironment
protected ProcessorEnvironment getEnvironment()(Code)



getExtensionOfType
protected static Extension getExtensionOfType(Extensible extensible, Class type)(Code)



getHeaderExtensions
protected List<SOAPHeader> getHeaderExtensions(Extensible extensible)(Code)
List of SOAPHeader extensions



getInputMessage
protected com.sun.tools.internal.ws.wsdl.document.Message getInputMessage()(Code)



getLiteralJavaMemberName
protected String getLiteralJavaMemberName(Fault fault)(Code)



getMessageParts
protected List getMessageParts(SOAPBody body, com.sun.tools.internal.ws.wsdl.document.Message message, boolean isInput)(Code)

Parameters:
  body - request or response body, represents soap:body
Parameters:
  message - Input or output message, equivalent to wsdl:message iterator over MessagePart



getMimeContentParts
protected List getMimeContentParts(Message message, Extensible ext)(Code)

Parameters:
  message - MessageParts referenced by the mime:content



getMimeContents
protected List<MIMEContent> getMimeContents(MIMEPart part)(Code)



getMimeContents
protected List<MIMEContent> getMimeContents(Extensible ext, Message message, String name)(Code)

Parameters:
  ext -
Parameters:
  message -
Parameters:
  name - List of MimeContents from ext



getMimeParts
protected Iterator<MIMEPart> getMimeParts(Extensible ext)(Code)



getNonQualifiedNameFor
protected String getNonQualifiedNameFor(QName name)(Code)



getOutputMessage
protected com.sun.tools.internal.ws.wsdl.document.Message getOutputMessage()(Code)



getProcessorEnvironment
public ProcessorEnvironment getProcessorEnvironment()(Code)



getQNameOf
protected static QName getQNameOf(GloballyKnown entity)(Code)



getRequestNamespaceURI
protected String getRequestNamespaceURI(SOAPBody body)(Code)



getResponseNamespaceURI
protected String getResponseNamespaceURI(SOAPBody body)(Code)



getSOAPRequestBody
protected SOAPBody getSOAPRequestBody()(Code)



getSOAPResponseBody
protected SOAPBody getSOAPResponseBody()(Code)



getUniqueClassName
protected String getUniqueClassName(String className)(Code)



getUniqueName
protected String getUniqueName(com.sun.tools.internal.ws.wsdl.document.Operation operation, boolean hasOverloadedOperations)(Code)



getUniqueParameterName
protected String getUniqueParameterName(Operation operation, String baseName)(Code)



getWSDLModelInfo
protected WSDLModelInfo getWSDLModelInfo()(Code)



info
protected void info(String key)(Code)



info
protected void info(String key, String arg)(Code)



isConflictingClassName
protected boolean isConflictingClassName(String name)(Code)



isConflictingExceptionClassName
protected boolean isConflictingExceptionClassName(String name)(Code)



isConflictingPortClassName
protected boolean isConflictingPortClassName(String name)(Code)



isConflictingServiceClassName
protected boolean isConflictingServiceClassName(String name)(Code)



isConflictingStubClassName
protected boolean isConflictingStubClassName(String name)(Code)



isConflictingTieClassName
protected boolean isConflictingTieClassName(String name)(Code)



isProvider
protected boolean isProvider(com.sun.tools.internal.ws.wsdl.document.Port wsdlPort)(Code)



isRequestMimeMultipart
protected boolean isRequestMimeMultipart()(Code)



isResponseMimeMultipart
protected boolean isResponseMimeMultipart()(Code)



isStyleAndPartMatch
protected boolean isStyleAndPartMatch(SOAPOperation soapOperation, MessagePart part)(Code)
For Document/Lit the wsdl:part should only have element attribute and for RPC/Lit or RPC/Encoded the wsdl:part should only have type attribute inside wsdl:message.



makeNameUniqueInSet
protected String makeNameUniqueInSet(String candidateName, Set names)(Code)



makePackageQualified
protected String makePackageQualified(String s, QName name)(Code)



makePackageQualified
protected String makePackageQualified(String s, QName name, boolean useNamespaceMapping)(Code)



makePackageQualified
protected QName makePackageQualified(QName name)(Code)



makePackageQualified
protected QName makePackageQualified(QName name, boolean useNamespaceMapping)(Code)



setDocumentationIfPresent
protected static void setDocumentationIfPresent(ModelObject obj, Documentation documentation)(Code)



tokenListContains
protected static boolean tokenListContains(String tokenList, String target)(Code)



validateBodyParts
protected boolean validateBodyParts(BindingOperation operation)(Code)

Parameters:
  operation - true if operation has valid body parts



validateMimeParts
protected boolean validateMimeParts(Iterator mimeParts)(Code)

Parameters:
  mimeParts -



warn
protected void warn(Localizable msg)(Code)



warn
protected void warn(String key)(Code)



warn
protected void warn(String key, String arg)(Code)



warn
protected void warn(String key, Object[] args)(Code)



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)

w___w_w__.j__a___v__a_2__s___.c_o_m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.