Class WSDLModelerBase
java.lang.Object
com.sun.tools.ws.processor.modeler.wsdl.WSDLModelerBase
- All Implemented Interfaces:
Modeler
- Direct Known Subclasses:
WSDLModeler
- Author:
- WS Development Team Base class for WSDL->Model classes.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Mapprotected Map<String,JavaException> protected WSDLDocumentprotected final ErrorReceiverFilterprotected MetadataFinderprotected WSDLModelerBase.ProcessSOAPOperationInfostatic final Stringprotected static final LocatorImplprotected static final Stringprotected final WsimportOptionsprotected WSDLParserprotected static final Stringstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionWSDLModelerBase(WsimportOptions options, ErrorReceiver receiver, MetadataFinder forest) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyPortMethodCustomization(Port port, Port wsdlPort) protected voidprotected static MessagefindMessage(QName messageName, WSDLDocument document) getAlternateMimeTypes(List<MIMEContent> mimeContents) protected TWSDLExtensiongetAnyExtensionOfType(TWSDLExtensible extensible, Class type) protected Setprotected static TWSDLExtensiongetExtensionOfType(TWSDLExtensible extensible, Class type) protected List<SOAPHeader>getHeaderExtensions(TWSDLExtensible extensible) protected Messageprotected StringgetLiteralJavaMemberName(Fault fault) protected List<MessagePart>getMessageParts(SOAPBody body, Message message, boolean isInput) protected List<MessagePart>getMimeContentParts(Message message, TWSDLExtensible ext) protected List<MIMEContent>getMimeContents(TWSDLExtensible ext, Message message, String name) protected List<MIMEContent>getMimeContents(MIMEPart part) protected Messageprotected static QNamegetQNameOf(GloballyKnown entity) protected Stringprotected Stringprotected SOAPBodyprotected SOAPBodyprotected StringgetUniqueClassName(String className) protected StringgetUniqueName(Operation operation, boolean hasOverloadedOperations) protected booleanisConflictingClassName(String name) protected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanisProvider(Port wsdlPort) protected booleanprotected booleanprotected 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 Stringprotected static booleantokenListContains(String tokenList, String target) protected booleanvalidateBodyParts(BindingOperation operation) protected booleanvalidateMimeParts(Iterable<MIMEPart> mimeParts) protected voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.tools.ws.processor.modeler.Modeler
buildModel
-
Field Details
-
errReceiver
-
options
-
forest
-
OPERATION_HAS_VOID_RETURN_TYPE
- See Also:
-
WSDL_PARAMETER_ORDER
- See Also:
-
WSDL_RESULT_PARAMETER
- See Also:
-
MESSAGE_HAS_MIME_MULTIPART_RELATED_BINDING
- See Also:
-
info
-
_javaExceptions
-
_faultTypeToStructureMap
-
_bindingNameToPortMap
-
parser
-
document
-
NULL_LOCATOR
-
-
Constructor Details
-
WSDLModelerBase
-
-
Method Details
-
applyPortMethodCustomization
- Parameters:
port-wsdlPort-
-
isProvider
-
getSOAPRequestBody
-
isRequestMimeMultipart
protected boolean isRequestMimeMultipart() -
isResponseMimeMultipart
protected boolean isResponseMimeMultipart() -
getSOAPResponseBody
-
getOutputMessage
-
getInputMessage
-
getMessageParts
- Parameters:
body- request or response body, represents soap:bodymessage- Input or output message, equivalent to wsdl:message- Returns:
- iterator over MessagePart
-
getMimeContentParts
- Parameters:
message-- Returns:
- MessageParts referenced by the mime:content
-
validateMimeParts
- Parameters:
mimeParts-
-
getAlternateMimeTypes
-
getMimeParts
-
getMimeContents
-
isStyleAndPartMatch
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. -
getRequestNamespaceURI
-
getResponseNamespaceURI
-
getHeaderExtensions
- Returns:
- List of SOAPHeader extensions
-
getDuplicateFaultNames
-
validateBodyParts
- Parameters:
operation-- Returns:
- true if operation has valid body parts
-
getLiteralJavaMemberName
-
getMimeContents
- Parameters:
ext-message-name-- Returns:
- List of MimeContents from ext
-
makePackageQualified
-
getUniqueName
-
getQNameOf
-
getExtensionOfType
-
getAnyExtensionOfType
-
findMessage
-
tokenListContains
-
getUniqueClassName
-
isConflictingClassName
-
isConflictingServiceClassName
-
isConflictingStubClassName
-
isConflictingTieClassName
-
isConflictingPortClassName
-
isConflictingExceptionClassName
-
warning
-
error
-