| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The Definitions interface represents a WSDL definitions. It can be top-level or imported definitions.
| Method Summary | |
 void | 
addBinding(Binding binding)
Add a binding  | 
 void | 
addImport(Import impt)
Add an import element  | 
 void | 
addMessage(Message message)
Add a message  | 
 void | 
addPortType(PortType portType)
Add a portType  | 
 void | 
addService(Service service)
Add a service  | 
 Binding | 
findBinding(QName bindingQName)
find a binding of the specified qname, the binding may be defined in an imported wsdl document.  | 
 Message | 
findMessage(QName messageQName)
find a message of the specified qname, the message may be defined in an imported wsdl document.  | 
 PortType | 
findPortType(QName portTypeQName)
find a portType of the specified qname, the portType may be defined in an imported wsdl document.  | 
 org.w3c.dom.Element | 
findSchemaElement(QName elementQName)
find a schema element of the specified qname, the element may be defined in an imported wsdl document.  | 
 org.w3c.dom.Element | 
findSchemaType(QName typeQName)
find a schema type of the specified qname, the element may be defined in an imported wsdl document.  | 
 Binding | 
getBinding(java.lang.String name)
Get the binding with the specified name  | 
 java.util.Map | 
getBindings()
Get all bindings  | 
 java.util.Map | 
getImports()
Get imports  | 
 java.util.List | 
getImports(java.lang.String namespaceURI)
Get imports for the specified namespaceURI  | 
 Message | 
getMessage(java.lang.String name)
Get message with the specified name  | 
 java.util.Map | 
getMessages()
Get all messages  | 
 NamespaceDefinition | 
getNamespaceDefinition()
Get the namespace definition.  | 
 PortType | 
getPortType(java.lang.String name)
Get portType with the specified name  | 
 java.util.Map | 
getPortTypes()
Get all portTypes  | 
 Service | 
getService(java.lang.String name)
Get the service with the specified name  | 
 java.util.Map | 
getServices()
Get all services  | 
 java.lang.String | 
getTargetNamespaceURI()
Get target namespace  | 
 Types | 
getTypes()
Get types  | 
 void | 
removeBinding(java.lang.String name)
Remove a binding with the specified name  | 
 void | 
removeImport(java.lang.String namespaceURI)
Remove the list of imports with specified namespaceURI  | 
 void | 
removeMessage(java.lang.String name)
Remove the message with the specified name  | 
 void | 
removePortType(java.lang.String name)
Remove a portType with the specified name  | 
 void | 
removeService(java.lang.String name)
Remove a service with the specified name  | 
 void | 
setNamespaceDefinition(NamespaceDefinition namespaceDef)
Set the namespace definition  | 
 void | 
setTargetNamespaceURI(java.lang.String targetNamespaceURI)
Set target namespace  | 
 void | 
setTypes(Types types)
Set types  | 
| Methods inherited from interface oracle.wsdl.internal.WSDLElement | 
getOwnerDefinitions, getParent, serialize | 
| Methods inherited from interface oracle.wsdl.internal.Namable | 
getName, setName | 
| Methods inherited from interface oracle.wsdl.internal.Documentable | 
getDocumentation, setDocumentation | 
| Methods inherited from interface oracle.wsdl.internal.Extensible | 
addExtensibilityElement, getExtensibilityElements, getExtensibilityElements, getFirstExtensibilityElement, removeExtensibilityElements | 
| Method Detail | 
public void setTargetNamespaceURI(java.lang.String targetNamespaceURI)
targetNamespaceURI - the target namespacepublic java.lang.String getTargetNamespaceURI()
public NamespaceDefinition getNamespaceDefinition()
public void setNamespaceDefinition(NamespaceDefinition namespaceDef)
namespaceDef - namespace definitionpublic java.util.Map getImports()
public java.util.List getImports(java.lang.String namespaceURI)
public void addImport(Import impt)
impt - the import to addpublic void removeImport(java.lang.String namespaceURI)
namespaceURI - namespace URIpublic Types getTypes()
public void setTypes(Types types)
types - the types to setpublic Message getMessage(java.lang.String name)
public java.util.Map getMessages()
public void addMessage(Message message)
message - the message to addpublic void removeMessage(java.lang.String name)
name - the name of message to removepublic PortType getPortType(java.lang.String name)
public java.util.Map getPortTypes()
public void addPortType(PortType portType)
portType - the portType to addpublic void removePortType(java.lang.String name)
name - the name of portTypepublic Binding getBinding(java.lang.String name)
public java.util.Map getBindings()
public void addBinding(Binding binding)
binding - the binding to addpublic void removeBinding(java.lang.String name)
name - the name of binding to removepublic Service getService(java.lang.String name)
public java.util.Map getServices()
public void addService(Service service)
service - the service to addpublic void removeService(java.lang.String name)
name - the name of service to remove
public Binding findBinding(QName bindingQName)
                    throws WSDLException
bindingQName - the qname of a bindingWSDLException - thrown if the binding not found
public PortType findPortType(QName portTypeQName)
                      throws WSDLException
portTypeQName - the qname of a portTypeWSDLException - thrown if the the portType not found
public Message findMessage(QName messageQName)
                    throws WSDLException
messageQName - the qname of a messageWSDLException - thrown if the message not found
public org.w3c.dom.Element findSchemaElement(QName elementQName)
                                      throws WSDLException
elementQName - the qname of a schema elementWSDLException - thrown if the element not found
public org.w3c.dom.Element findSchemaType(QName typeQName)
                                   throws WSDLException
typeQName - the qname of a schema typeWSDLException - thrown if the type not found.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||