org.netbeans.modules.xml.wsdl.model
Interface Definitions

All Superinterfaces:
Component<WSDLComponent>, DocumentComponent<WSDLComponent>, Nameable<WSDLComponent>, Named<WSDLComponent>, WSDLComponent
All Known Implementing Classes:
DefinitionsImpl

public interface Definitions
extends Nameable<WSDLComponent>, WSDLComponent

Author:
rico Represents the WSDL definitions section

Field Summary
static java.lang.String BINDING_PROPERTY
           
static java.lang.String IMPORT_PROPERTY
           
static java.lang.String MESSAGE_PROPERTY
           
static java.lang.String PORT_TYPE_PROPERTY
           
static java.lang.String SERVICE_PROPERTY
           
static java.lang.String TARGET_NAMESPACE_PROPERTY
           
static java.lang.String TYPES_PROPERTY
           
 
Fields inherited from interface org.netbeans.modules.xml.xam.Named
NAME_PROPERTY
 
Fields inherited from interface org.netbeans.modules.xml.wsdl.model.WSDLComponent
DOCUMENTATION_PROPERTY, EXTENSIBILITY_ELEMENT_PROPERTY
 
Fields inherited from interface org.netbeans.modules.xml.xam.dom.DocumentComponent
TEXT_CONTENT_PROPERTY
 
Method Summary
 void addBinding(Binding binding)
           
 void addImport(Import importDefinition)
           
 void addMessage(Message message)
           
 void addPortType(PortType portType)
           
 void addService(Service service)
           
 java.lang.String getAnyAttribute(javax.xml.namespace.QName attr)
          Returns string value of the attribute from different namespace.
 java.util.Collection<Binding> getBindings()
           
 java.util.Collection<Import> getImports()
           
 java.util.Collection<Message> getMessages()
           
 java.util.Collection<PortType> getPortTypes()
           
 java.util.Collection<Service> getServices()
           
 java.lang.String getTargetNamespace()
           
 Types getTypes()
           
 void removeBinding(Binding binding)
           
 void removeImport(Import importDefinition)
           
 void removeMessage(Message message)
           
 void removePortType(PortType portType)
           
 void removeService(Service service)
           
 void setAnyAttribute(javax.xml.namespace.QName attr, java.lang.String value)
          Set string value of the attribute identified by given QName.
 void setTargetNamespace(java.lang.String uri)
           
 void setTypes(Types types)
           
 
Methods inherited from interface org.netbeans.modules.xml.xam.Nameable
setName
 
Methods inherited from interface org.netbeans.modules.xml.xam.Named
getName
 
Methods inherited from interface org.netbeans.modules.xml.xam.Component
canPaste, copy, getChildren, getChildren, getChildren, getParent
 
Methods inherited from interface org.netbeans.modules.xml.wsdl.model.WSDLComponent
accept, addExtensibilityElement, createReferenceTo, createSchemaReference, getAttributeMap, getDocumentation, getExtensibilityElements, getExtensibilityElements, getModel, removeExtensibilityElement, setDocumentation
 
Methods inherited from interface org.netbeans.modules.xml.xam.dom.DocumentComponent
findAttributePosition, findChildComponent, findPosition, getAttribute, getPeer, isInDocumentModel, referencesSameNode, setAttribute
 
Methods inherited from interface org.netbeans.modules.xml.xam.Component
canPaste, copy, getChildren, getChildren, getChildren, getParent
 

Field Detail

IMPORT_PROPERTY

static final java.lang.String IMPORT_PROPERTY
See Also:
Constant Field Values

BINDING_PROPERTY

static final java.lang.String BINDING_PROPERTY
See Also:
Constant Field Values

TYPES_PROPERTY

static final java.lang.String TYPES_PROPERTY
See Also:
Constant Field Values

MESSAGE_PROPERTY

static final java.lang.String MESSAGE_PROPERTY
See Also:
Constant Field Values

PORT_TYPE_PROPERTY

static final java.lang.String PORT_TYPE_PROPERTY
See Also:
Constant Field Values

SERVICE_PROPERTY

static final java.lang.String SERVICE_PROPERTY
See Also:
Constant Field Values

TARGET_NAMESPACE_PROPERTY

static final java.lang.String TARGET_NAMESPACE_PROPERTY
See Also:
Constant Field Values
Method Detail

addImport

void addImport(Import importDefinition)

removeImport

void removeImport(Import importDefinition)

getImports

java.util.Collection<Import> getImports()

setTypes

void setTypes(Types types)

getTypes

Types getTypes()

addMessage

void addMessage(Message message)

removeMessage

void removeMessage(Message message)

getMessages

java.util.Collection<Message> getMessages()

addPortType

void addPortType(PortType portType)

removePortType

void removePortType(PortType portType)

getPortTypes

java.util.Collection<PortType> getPortTypes()

addBinding

void addBinding(Binding binding)

removeBinding

void removeBinding(Binding binding)

getBindings

java.util.Collection<Binding> getBindings()

addService

void addService(Service service)

removeService

void removeService(Service service)

getServices

java.util.Collection<Service> getServices()

getTargetNamespace

java.lang.String getTargetNamespace()

setTargetNamespace

void setTargetNamespace(java.lang.String uri)

getAnyAttribute

java.lang.String getAnyAttribute(javax.xml.namespace.QName attr)
Returns string value of the attribute from different namespace. If given QName has prefix, it will be ignored.

Parameters:
attr - non-null QName represents the attribute name.
Returns:
attribute value

setAnyAttribute

void setAnyAttribute(javax.xml.namespace.QName attr,
                     java.lang.String value)
Set string value of the attribute identified by given QName. This will fire property change event using attribute local name.

Parameters:
attr - non-null QName represents the attribute name.
value - string value for the attribute.