public class Description extends Object
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>
Constructor and Description |
---|
Description()
Default constructor.
|
Description(Element elem)
Constructs a Description object from DOM element.
|
Description(List securityMechID,
List credentialRef,
String endPoint)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public Description()
public Description(List securityMechID, List credentialRef, String endPoint)
securityMechID
- List of supported security mechanism ID as StringcredentialRef
- List of credential referencesendPoint
- SOAP endpoint URIpublic Description(Element elem) throws DiscoveryException
elem
- DOM Element of Description.DiscoveryException
- if error occurs.public String getId()
Description.setId(String)
public void setId(String id)
id
- id attribute.Description.getId()
public String getSoapAction()
Description.setSoapAction(String)
public void setSoapAction(String value)
value
- SOAP action to be setDescription.getSoapAction()
public List getSecurityMechID()
public void getSecurityMechID(List mechIDs)
mechIDs
- List of IDs as String for security mechanismpublic QName getServiceNameRef()
Description.setServiceNameRef(QName)
public void setServiceNameRef(QName nameRef)
nameRef
- service name reference.Description.getServiceNameRef()
public String getWsdlURI()
Description.setWsdlURI(String)
public void setWsdlURI(String uri)
uri
- URI to the WSDL resourceDescription.getWsdlURI()
public List getCredentialRef()
CredentialRef
property.CredentialRef
property.Description.setCredentialRef(List)
public void setCredentialRef(List refs)
CredentialRef
property.refs
- List of String value of the CredentialRef
property.Description.getCredentialRef()
public String getEndpoint()
Description.setEndpoint(String)
public void setEndpoint(String uri)
uri
- end point URI to be setDescription.getEndpoint()
Copyright © 2010-2018, ForgeRock All Rights Reserved.