edu.uga.cs.lsdis.sawsdl
Interface Definition

All Superinterfaces:
javax.wsdl.extensions.AttributeExtensible, javax.wsdl.Definition, javax.wsdl.extensions.ElementExtensible, java.io.Serializable, javax.wsdl.WSDLElement

public interface Definition
extends javax.wsdl.Definition

Representation of the SAWSDL definition

Author:
: Ajith Ranabahu, : Zixin Wu, : Karthik Gomadam, : Doug Brewer

Field Summary
 
Fields inherited from interface javax.wsdl.extensions.AttributeExtensible
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE
 
Method Summary
 void addMessage(Message message)
          Add a semantically annotated message to this WSDL description.
 void addPortType(PortType portType)
          Add a sawsdl portType to this WSDL description.
 ModelReference createModelReference()
          Create a new modelReference.
 Message getSemanticMessage(javax.xml.namespace.QName name)
          Get the specified message as a semantically annotated message object.
 PortType getSemanticPortType(javax.xml.namespace.QName name)
          Get the specified portType.
 Message removeSemanticMessage(javax.xml.namespace.QName name)
          Remove the specified message from this definition.
 
Methods inherited from interface javax.wsdl.Definition
addBinding, addImport, addMessage, addNamespace, addPortType, addService, createBinding, createBindingFault, createBindingInput, createBindingOperation, createBindingOutput, createFault, createImport, createInput, createMessage, createOperation, createOutput, createPart, createPort, createPortType, createService, createTypes, getAllBindings, getAllPortTypes, getAllServices, getBinding, getBindings, getDocumentBaseURI, getExtensionRegistry, getImports, getImports, getMessage, getMessages, getNamespace, getNamespaces, getPortType, getPortTypes, getPrefix, getQName, getService, getServices, getTargetNamespace, getTypes, removeBinding, removeImport, removeMessage, removeNamespace, removePortType, removeService, setDocumentBaseURI, setExtensionRegistry, setQName, setTargetNamespace, setTypes
 
Methods inherited from interface javax.wsdl.WSDLElement
getDocumentationElement, setDocumentationElement
 
Methods inherited from interface javax.wsdl.extensions.AttributeExtensible
getExtensionAttribute, getExtensionAttributes, getNativeAttributeNames, setExtensionAttribute
 
Methods inherited from interface javax.wsdl.extensions.ElementExtensible
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElement
 

Method Detail

createModelReference

ModelReference createModelReference()
Create a new modelReference.

Returns:
the newly created modelReference.

getSemanticPortType

PortType getSemanticPortType(javax.xml.namespace.QName name)
Get the specified portType. Also checks imported documents. note that this method returns the semantically annotated portType

Parameters:
name - the name of the desired portType.
Returns:
the corresponding portType, or null if there wasn't any matching portType. This

addPortType

void addPortType(PortType portType)
Add a sawsdl portType to this WSDL description. This is an overloaded version of the addPortType method

Parameters:
portType - the portType to be added

addMessage

void addMessage(Message message)
Add a semantically annotated message to this WSDL description. overloaded version of the addMessage method

Parameters:
message - the message to be added
See Also:
Definition.addMessage(javax.wsdl.Message)

getSemanticMessage

Message getSemanticMessage(javax.xml.namespace.QName name)
Get the specified message as a semantically annotated message object. Also checks imported documents.

Parameters:
name - the name of the desired message.
Returns:
the corresponding message, or null if there wasn't any matching message
See Also:
Definition.getMessage(javax.xml.namespace.QName)

removeSemanticMessage

Message removeSemanticMessage(javax.xml.namespace.QName name)
Remove the specified message from this definition.

Parameters:
name - the name of the message to remove
Returns:
the message previously associated with this qname, if there was one; may return null
See Also:
Definition.removeMessage(javax.xml.namespace.QName)


Copyright © 2007. All Rights Reserved.