Class WSDLNode

    • Field Detail

      • WSDL_UNKNOWN

        public static final int WSDL_UNKNOWN
        Enumeration of supported node type definitions.
                        WSDL_DOCUMENT                    : this node is a WSDLDocument
                        WSDL_DEFINITIONS                 : this node is a WSDLNode of type WSDL_DEFINITIONS
                        WSDL_TYPES                               : this node is a WSDLNode of type WSDL_TYPES
                        WSDL_MESSAGE                     : this node is a WSDLMessage
                        WSDL_PART                                : this node is a WSDLPart
                        WSDL_OPERATION                   : this node is a WSDLOperation
                        WSDL_PORTTYPE                    : this node is a WSDLNode of type WSDL_PORTYPE
                        WSDL_BINDING                     : this node is a WSDLNode of type WSDL_BINDING
                        WSDL_BINDING_OPERATION   : this node is a WSDLBindingOperation
                        WSDL_SERVICE                     : this node is a WSDLNode of type WSDL_SERVICE
                        WSDL_INPUT                               : this node is a WSDLNode of type WSDL_INPUT
                        WSDL_OUTPUT                      : this node is a WSDLNode of type WSDL_OUTPUT
                        WSDL_FAULT                               : this node is a WSDLNode of type WSDL_FAULT
                        WSDL_PORT                                : this node is a WSDLNode of type WSDL_PORT
                        WSDL_EXTEN                               : this node is a WSDLExten
         
        See Also:
        Constant Field Values
      • WSDLA_BINDING

        public static final int WSDLA_BINDING
        Enumeration of supported attributes.
                        WSDLA_NAME                : the "name" attribute
                        WSDLA_ELEMENT     : the "element" attribute in the WSDL_PART node
                        WSDLA_TYPE                : the "type" attribute in the WSDL_PART and WSDL_BINDING nodes
                        WSDLA_MESSAGE     : the "message" attribute in the WSDL_INPUT and WSDL_OUTPUT nodes
                        WSDLA_BINDING     : the "binding" attribute in the WSDL_PORT node
         
        See Also:
        Constant Field Values
    • Constructor Detail

      • WSDLNode

        public WSDLNode​(WSDLDocument poDocument,
                        Element oSrc,
                        int eType)
        Constructor.
        Parameters:
        poDocument - Owning WSDL document for the new node.
        oSrc - Source DOM element.
        eType - WSDL node type.
    • Method Detail

      • getNodeType

        public int getNodeType()
        The code representing the type of object represented by this WSDLNode
        Returns:
        A code representing the type of object represented by this WSDLNode
      • getWSDLOwnerDocument

        public WSDLDocument getWSDLOwnerDocument()
        Gets the Document object associated with this node. This is also the Document object used to create new nodes. When this node is a Document this is NULL.
      • getWSDLParentNode

        public WSDLNode getWSDLParentNode()
      • getWSDLChildNode

        public WSDLNode getWSDLChildNode​(int inType,
                                         java.lang.String inName)
      • getWSDLChildNode

        public WSDLNode getWSDLChildNode​(int inType,
                                         java.lang.String inName,
                                         java.lang.String inTargetNS)
      • getWSDLChildNodesOfType

        public java.util.List<WSDLNode> getWSDLChildNodesOfType​(int inType)
      • getNamespaceURI

        public java.lang.String getNamespaceURI()
        The namespace URI of this node
        Returns:
        The namespace URI of this node or String::EmptyString() if it is unspecified
      • setNamespaceURI

        public void setNamespaceURI​(java.lang.String sNSURI)
      • getTargetNamespace

        public java.lang.String getTargetNamespace()
        The target namespace of this node
        Returns:
        The target namespace of this node or String::EmptyString() if it is unspecified. This is equal to the targetnameSpace on the owner document, unless this node origniated from an import elememt with a different namespace
      • setTargetNamespace

        public void setTargetNamespace​(java.lang.String sTargetNS)
      • getNSURI

        public java.lang.String getNSURI​(java.lang.String sPrefix)
      • getNSPrefix

        public java.lang.String getNSPrefix​(java.lang.String sURI)
      • getWSDLName

        public java.lang.String getWSDLName()
        The qualified name (W3C::QName) of this node depending on its type (specified by getNodeType()).
        Returns:
        The QName of this node depending on its type.
                   WSDL_TYPES                           : the literal string "#types"
                   WSDL_MESSAGE,                        : the name of the message
                   WSDL_PART,                           : the name of the part
                   WSDL_OPERATION,                      : the name of the operation
                   WSDL_PORTTYPE,                       : the name of the portType
                   WSDL_BINDING,                        : the name of the binding
                   WSDL_SERVICE,                        : the name of the service
                   WSDL_INPUT,                          : the name of the input
                   WSDL_OUTPUT,                         : the name of the output
                   WSDL_FAULT,                          : the name of the fault
                   WSDL_PORT                            : the name of the port
                 
        See Also: W3C::QName
      • setWSDLName

        public void setWSDLName​(java.lang.String sNodeName)
      • getWSDLPrefix

        public java.lang.String getWSDLPrefix()
      • setWSDLPrefix

        public void setWSDLPrefix​(java.lang.String sPrefix)
      • getDomNode

        public Element getDomNode()
      • getWSDLAttribute

        public java.lang.String getWSDLAttribute​(int eNodeAttribute)
        Gets a String containing the named attribute of this node (if it is has the named attribute or Sting::EmptyString() otherwise.