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

All Superinterfaces:
Component<WSDLComponent>, DocumentComponent<WSDLComponent>
All Known Subinterfaces:
Binding, BindingFault, BindingInput, BindingOperation, BindingOutput, BPELExtensibilityComponent, CorrelationProperty, Definitions, Documentation, Documentation, ExtensibilityElement, ExtensibilityElement.EmbeddedModel, ExtensibilityElement.ParentSelector, ExtensibilityElement.UpdaterProvider, Fault, Import, Input, Message, NotificationOperation, OneWayOperation, Operation, OperationParameter, Output, Part, PartnerLinkType, Port, PortType, PropertyAlias, Query, ReferenceableExtensibilityElement, ReferenceableWSDLComponent, RequestResponseOperation, Role, Service, SolicitResponseOperation, Types
All Known Implementing Classes:
BindingFaultImpl, BindingImpl, BindingInputImpl, BindingOperationImpl, BindingOutputImpl, CorrelationPropertyImpl, DefinitionsImpl, DocumentationImpl, DocumentationImpl, FaultImpl, org.netbeans.modules.xml.wsdl.model.spi.GenericExtensibilityElement, ImportImpl, InputImpl, MessageImpl, org.netbeans.modules.xml.wsdl.model.spi.NamedExtensibilityElementBase, NamedImpl, NotificationOperationImpl, OneWayOperationImpl, OperationImpl, OperationParameterImpl, OutputImpl, PartImpl, PartnerLinkTypeImpl, PortImpl, PortTypeImpl, PropertyAliasImpl, QueryImpl, RequestResponseOperationImpl, RoleImpl, ServiceImpl, SolicitResponseOperationImpl, TypesImpl, org.netbeans.modules.xml.wsdl.model.spi.WSDLComponentBase

public interface WSDLComponent
extends DocumentComponent<WSDLComponent>

Author:
rico Base interface of all WSDL components

Field Summary
static java.lang.String DOCUMENTATION_PROPERTY
           
static java.lang.String EXTENSIBILITY_ELEMENT_PROPERTY
           
 
Fields inherited from interface org.netbeans.modules.xml.xam.dom.DocumentComponent
TEXT_CONTENT_PROPERTY
 
Method Summary
 void accept(org.netbeans.modules.xml.wsdl.model.visitor.WSDLVisitor visitor)
           
 void addExtensibilityElement(ExtensibilityElement ee)
           
<T extends ReferenceableWSDLComponent>
NamedComponentReference<T>
createReferenceTo(T target, java.lang.Class<T> type)
          Creates a global reference to the given target WSDL component.
<T extends org.netbeans.modules.xml.schema.model.ReferenceableSchemaComponent>
NamedComponentReference<T>
createSchemaReference(T target, java.lang.Class<T> type)
          Creates a GlobalReference to a Schema component
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getAttributeMap()
          Returns map of attribute names and string values.
 Documentation getDocumentation()
           
 java.util.List<ExtensibilityElement> getExtensibilityElements()
           
<T extends ExtensibilityElement>
java.util.List<T>
getExtensibilityElements(java.lang.Class<T> type)
           
 WSDLModel getModel()
           
 void removeExtensibilityElement(ExtensibilityElement ee)
           
 void setDocumentation(Documentation doc)
           
 
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

DOCUMENTATION_PROPERTY

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

EXTENSIBILITY_ELEMENT_PROPERTY

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

getModel

WSDLModel getModel()
Specified by:
getModel in interface Component<WSDLComponent>
Returns:
WSDL model.

accept

void accept(org.netbeans.modules.xml.wsdl.model.visitor.WSDLVisitor visitor)

setDocumentation

void setDocumentation(Documentation doc)

getDocumentation

Documentation getDocumentation()

createReferenceTo

<T extends ReferenceableWSDLComponent> NamedComponentReference<T> createReferenceTo(T target,
                                                                                    java.lang.Class<T> type)
Creates a global reference to the given target WSDL component.

Parameters:
target - the target WSDLComponent
type - actual type of the target
Returns:
the global reference.

createSchemaReference

<T extends org.netbeans.modules.xml.schema.model.ReferenceableSchemaComponent> NamedComponentReference<T> createSchemaReference(T target,
                                                                                                                                java.lang.Class<T> type)
Creates a GlobalReference to a Schema component

Parameters:
target - The schema component that is being referenced.
type - Class object of the schema component

addExtensibilityElement

void addExtensibilityElement(ExtensibilityElement ee)

removeExtensibilityElement

void removeExtensibilityElement(ExtensibilityElement ee)

getExtensibilityElements

java.util.List<ExtensibilityElement> getExtensibilityElements()

getExtensibilityElements

<T extends ExtensibilityElement> java.util.List<T> getExtensibilityElements(java.lang.Class<T> type)

getAttributeMap

java.util.Map<javax.xml.namespace.QName,java.lang.String> getAttributeMap()
Returns map of attribute names and string values.