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

All Superinterfaces:
Component<WSDLComponent>, DocumentComponent<WSDLComponent>, WSDLComponent
All Known Implementing Classes:
ImportImpl

public interface Import
extends WSDLComponent

Author:
rico Represents an import wsdl statement to import other namespaces.

Field Summary
static java.lang.String LOCATION_PROPERTY
           
static java.lang.String NAMESPACE_URI_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
 WSDLModel getImportedWSDLModel()
          Returns the imported WSDL model.
 java.lang.String getLocation()
           
 java.lang.String getNamespace()
           
 void setLocation(java.lang.String locationURI)
           
 void setNamespace(java.lang.String namespaceURI)
           
 
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

NAMESPACE_URI_PROPERTY

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

LOCATION_PROPERTY

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

setNamespace

void setNamespace(java.lang.String namespaceURI)

getNamespace

java.lang.String getNamespace()

setLocation

void setLocation(java.lang.String locationURI)

getLocation

java.lang.String getLocation()

getImportedWSDLModel

WSDLModel getImportedWSDLModel()
                               throws CatalogModelException
Returns the imported WSDL model.

Returns:
a WSDL model object if the import location or namespace resolves into a model source and the model source is well-formed;
Throws:
DepResolverException - if location or namespace values cannot resolve;
CatalogModelException