FileDocCategorySizeDatePackage
PortInfo.javaAPI DocExample3711Tue May 29 16:56:34 BST 2007com.sun.xml.ws.mex.client

PortInfo

public class PortInfo extends Object
Class to hold information about a port, such as the port name, address, and name of the containing service.
see
com.sun.xml.ws.mex.client.MetadataClient

Fields Summary
private final QName
serviceName
private final QName
portName
private final String
address
Constructors Summary
PortInfo(QName serviceName, QName portName, String address)

        this.serviceName = serviceName;
        this.portName = portName;
        this.address = address;
    
Methods Summary
public java.lang.StringgetAddress()
Retrieve the address for this port.

        return address;
    
public java.lang.StringgetPortLocalPart()
Utility method for obtaining port local name. This method is equivalent to getPortName().getLocalPart().

        return portName.getLocalPart();
    
public javax.xml.namespace.QNamegetPortName()
Retrieve the qname for this port.

        return portName;
    
public java.lang.StringgetPortNamespaceURI()
Utility method for obtaining port namespace. This method is equivalent to getPortName().getNamespaceURI().

        return portName.getNamespaceURI();
    
public java.lang.StringgetServiceLocalPart()
Utility method for obtaining service local name. This method is equivalent to getServiceName().getLocalPart().

        return serviceName.getLocalPart();
    
public javax.xml.namespace.QNamegetServiceName()
Retrieve the qname for the service that contains this port.

        return serviceName;