com.sun.identity.liberty.ws.disco
クラス Description

java.lang.Object
  上位を拡張 com.sun.identity.liberty.ws.disco.Description

public class Description
extends Object

The class Description represents a Description Type of a service instance.

The following schema fragment specifies the expected content within the Description object.

 <complexType name="DescriptionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="SecurityMechID" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded"/>
         <element name="CredentialRef" type="{http://www.w3.org/2001/XMLSchema}IDREF" maxOccurs="unbounded" minOccurs="0"/>
         <choice>
           <group ref="{urn:liberty:disco:2003-08}WsdlRef"/>
           <group ref="{urn:liberty:disco:2003-08}BriefSoapHttpDescription"/>
         </choice>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


コンストラクタの概要
Description()
          Default constructor.
Description(Element elem)
          Constructs a Description object from DOM element.
Description(List securityMechID, List credentialRef, String endPoint)
          Constructor.
 
メソッドの概要
 List getCredentialRef()
          Gets the value of the CredentialRef property.
 String getEndpoint()
          Gets SOAP end point URI.
 String getId()
          Gets id attribute.
 List getSecurityMechID()
          Gets supported Security Mechanism IDs.
 void getSecurityMechID(List mechIDs)
          Sets supported Security Mechanism IDs.
 QName getServiceNameRef()
          Gets WSDL service name reference.
 String getSoapAction()
          Gets SOAP action.
 String getWsdlURI()
          Gets URI to WSDL resource containing the service description.
 void setCredentialRef(List refs)
          Sets the value of the CredentialRef property.
 void setEndpoint(String uri)
          Sets SOAP end point URI.
 void setId(String id)
          Sets id attribute.
 void setServiceNameRef(QName nameRef)
          Sets WSDL service name reference.
 void setSoapAction(String value)
          Sets SOAP action.
 void setWsdlURI(String uri)
          Sets URI to WSDL resource containing the service description.
 String toString()
          Returns formatted string of the service description.
 

コンストラクタの詳細

Description

public Description()
Default constructor.


Description

public Description(List securityMechID,
                   List credentialRef,
                   String endPoint)
Constructor.

パラメータ:
securityMechID - List of supported security mechanism ID as String
credentialRef - List of credential references
endPoint - SOAP endpoint URI

Description

public Description(Element elem)
            throws DiscoveryException
Constructs a Description object from DOM element.

パラメータ:
elem - DOM Element of Description.
例外:
DiscoveryException - if error occurs.
メソッドの詳細

getId

public String getId()
Gets id attribute.

戻り値:
id attribute.
関連項目:
Description.setId(String)

setId

public void setId(String id)
Sets id attribute.

パラメータ:
id - id attribute.
関連項目:
Description.getId()

getSoapAction

public String getSoapAction()
Gets SOAP action.

戻り値:
SOAP action.
関連項目:
Description.setSoapAction(String)

setSoapAction

public void setSoapAction(String value)
Sets SOAP action.

パラメータ:
value - SOAP action to be set
関連項目:
Description.getSoapAction()

getSecurityMechID

public List getSecurityMechID()
Gets supported Security Mechanism IDs.

戻り値:
List of IDs as String for security mechanism

getSecurityMechID

public void getSecurityMechID(List mechIDs)
Sets supported Security Mechanism IDs.

パラメータ:
mechIDs - List of IDs as String for security mechanism

getServiceNameRef

public QName getServiceNameRef()
Gets WSDL service name reference.

戻り値:
WSDL service name reference.
関連項目:
Description.setServiceNameRef(QName)

setServiceNameRef

public void setServiceNameRef(QName nameRef)
Sets WSDL service name reference.

パラメータ:
nameRef - service name reference.
関連項目:
Description.getServiceNameRef()

getWsdlURI

public String getWsdlURI()
Gets URI to WSDL resource containing the service description.

戻り値:
URI to WSDL resource containing the service description.
関連項目:
Description.setWsdlURI(String)

setWsdlURI

public void setWsdlURI(String uri)
Sets URI to WSDL resource containing the service description.

パラメータ:
uri - URI to the WSDL resource
関連項目:
Description.getWsdlURI()

getCredentialRef

public List getCredentialRef()
Gets the value of the CredentialRef property.

戻り値:
value of the CredentialRef property.
関連項目:
Description.setCredentialRef(List)

setCredentialRef

public void setCredentialRef(List refs)
Sets the value of the CredentialRef property.

パラメータ:
refs - List of String value of the CredentialRef property.
関連項目:
Description.getCredentialRef()

getEndpoint

public String getEndpoint()
Gets SOAP end point URI.

戻り値:
SOAP end point URI
関連項目:
Description.setEndpoint(String)

setEndpoint

public void setEndpoint(String uri)
Sets SOAP end point URI.

パラメータ:
uri - end point URI to be set
関連項目:
Description.getEndpoint()

toString

public String toString()
Returns formatted string of the service description.

オーバーライド:
クラス Object 内の toString
戻り値:
formatted string of the service description.