Package com.ibm.wsdl

Class ImportImpl

All Implemented Interfaces:
Serializable, AttributeExtensible, ElementExtensible, Import, WSDLElement

public class ImportImpl extends AbstractWSDLElement implements Import
This class represents an import, and may contain a reference to the imported definition.
Author:
Matthew J. Duftler (duftler@us.ibm.com)
See Also:
  • Field Details

    • namespaceURI

      protected String namespaceURI
    • locationURI

      protected String locationURI
    • definition

      protected Definition definition
    • nativeAttributeNames

      protected List nativeAttributeNames
    • serialVersionUID

      public static final long serialVersionUID
      See Also:
  • Constructor Details

    • ImportImpl

      public ImportImpl()
  • Method Details

    • setNamespaceURI

      public void setNamespaceURI(String namespaceURI)
      Description copied from interface: Import
      Set the namespace URI of this import.
      Specified by:
      setNamespaceURI in interface Import
      Parameters:
      namespaceURI - the desired namespace URI
    • getNamespaceURI

      public String getNamespaceURI()
      Description copied from interface: Import
      Get the namespace URI of this import.
      Specified by:
      getNamespaceURI in interface Import
    • setLocationURI

      public void setLocationURI(String locationURI)
      Description copied from interface: Import
      Set the location URI of this import.
      Specified by:
      setLocationURI in interface Import
      Parameters:
      locationURI - the desired location URI
    • getLocationURI

      public String getLocationURI()
      Description copied from interface: Import
      Get the location URI of this import.
      Specified by:
      getLocationURI in interface Import
    • setDefinition

      public void setDefinition(Definition definition)
      This property can be used to hang a referenced Definition, and the top-level Definition (i.e. the one with the <import>) will use this Definition when resolving referenced WSDL parts. This would need to be made into a generic reference to handle other types of referenced documents.
      Specified by:
      setDefinition in interface Import
    • getDefinition

      public Definition getDefinition()
      This property can be used to hang a referenced Definition, and the top-level Definition (i.e. the one with the <import>) will use this Definition when resolving referenced WSDL parts. This would need to be made into a generic reference to handle other types of referenced documents.
      Specified by:
      getDefinition in interface Import
    • getNativeAttributeNames

      public List getNativeAttributeNames()
      Get the list of local attribute names defined for this element in the WSDL specification.
      Specified by:
      getNativeAttributeNames in interface AttributeExtensible
      Returns:
      a List of Strings, one for each local attribute name
    • toString

      public String toString()
      Overrides:
      toString in class AbstractWSDLElement