|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.liberty.ws.disco.Description
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>
Constructor Summary | |
Description()
Default constructor |
|
Description(org.w3c.dom.Element elem)
Constructs a Description object from DOM element. |
|
Description(java.util.List securityMechID,
java.util.List credentialRef,
java.lang.String endPoint)
Constructor |
Method Summary | |
java.util.List |
getCredentialRef()
Gets the value of the CredentialRef property. |
java.lang.String |
getEndpoint()
Gets SOAP end point URI |
java.lang.String |
getId()
Gets id attribute. |
java.util.List |
getSecurityMechID()
Gets supported Security Mechanism IDs |
javax.xml.namespace.QName |
getServiceNameRef()
Gets WSDL service name reference. |
java.lang.String |
getSoapAction()
Gets SOAP action. |
java.lang.String |
getWsdlURI()
Gets URI to WSDL resource containing the service description. |
void |
setCredentialRef(java.util.List refs)
Sets the value of the CredentialRef property. |
void |
setEndpoint(java.lang.String uri)
Sets SOAP end point URI |
void |
setId(java.lang.String id)
Sets id attribute. |
void |
setServiceNameRef(javax.xml.namespace.QName nameRef)
Sets WSDL service name reference. |
void |
setSoapAction(java.lang.String value)
Sets SOAP action |
void |
setWsdlURI(java.lang.String uri)
Sets URI to WSDL resource containing the service description |
java.lang.String |
toString()
Returns formatted string of the service description. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Description()
public Description(java.util.List securityMechID, java.util.List credentialRef, java.lang.String endPoint)
securityMechID
- List of supported security mechanism ID as StringcredentialRef
- List of credential referencesendPoint
- SOAP endpoint URIpublic Description(org.w3c.dom.Element elem) throws DiscoveryException
elem
- DOM Element of Description.
DiscoveryException
- if error occurs.Method Detail |
public java.lang.String getId()
public void setId(java.lang.String id)
id
- id attribute.public java.lang.String getSoapAction()
public void setSoapAction(java.lang.String value)
value
- SOAP action to be setpublic java.util.List getSecurityMechID()
public javax.xml.namespace.QName getServiceNameRef()
public void setServiceNameRef(javax.xml.namespace.QName nameRef)
nameRef
- service name reference.public java.lang.String getWsdlURI()
public void setWsdlURI(java.lang.String uri)
uri
- URI to the WSDL resourcepublic java.util.List getCredentialRef()
CredentialRef
property.
CredentialRef
property.public void setCredentialRef(java.util.List refs)
CredentialRef
property.
refs
- List of String value of the CredentialRef
property.public java.lang.String getEndpoint()
public void setEndpoint(java.lang.String uri)
uri
- end point URI to be setpublic java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |