com.sun.xml.ws.api.model.wsdl.editable
Interface EditableWSDLInput

All Superinterfaces:
WSDLExtensible, WSDLInput, WSDLObject
All Known Implementing Classes:
WSDLInputImpl

public interface EditableWSDLInput
extends WSDLInput


Method Summary
 void freeze(EditableWSDLModel root)
          Freezes WSDL model to prevent further modification
 EditableWSDLMessage getMessage()
          Gives the WSDLMessage corresponding to wsdl:input@message

This method should not be called before the entire WSDLModel is built.

 EditableWSDLOperation getOperation()
          Gives the owning WSDLOperation
 void setAction(java.lang.String action)
          Sets action
 void setDefaultAction(boolean defaultAction)
          Set to true if this is the default action
 
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLInput
getAction, getName, getQName, isDefaultAction
 
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLExtensible
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions, getNotUnderstoodExtensions
 
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLObject
getLocation
 

Method Detail

getMessage

EditableWSDLMessage getMessage()
Description copied from interface: WSDLInput
Gives the WSDLMessage corresponding to wsdl:input@message

This method should not be called before the entire WSDLModel is built. Basically after the WSDLModel is built all the references are resolve in a post processing phase. IOW, the WSDL extensions should not call this method.

Specified by:
getMessage in interface WSDLInput
Returns:
Always returns null when called from inside WSDL extensions.

getOperation

@NotNull
EditableWSDLOperation getOperation()
Description copied from interface: WSDLInput
Gives the owning WSDLOperation

Specified by:
getOperation in interface WSDLInput

setAction

void setAction(java.lang.String action)
Sets action

Parameters:
action - Action

setDefaultAction

void setDefaultAction(boolean defaultAction)
Set to true if this is the default action

Parameters:
defaultAction - True, if default action

freeze

void freeze(EditableWSDLModel root)
Freezes WSDL model to prevent further modification

Parameters:
root - WSDL Model


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.