|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.sun.identity.liberty.ws.disco.RequestedService
The class RequestedService enables the requester to specify
that all the resource offerings returned must be offered via a service
instance complying with one of the specified service type.
The following schema fragment specifies the expected content
within the RequestedService object.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:liberty:disco:2003-08}ServiceType"/>
<element ref="{urn:liberty:disco:2003-08}Options" minOccurs="0"/>
* </sequence>
</restriction>
</complexContent>
</complexType>
In this implementation, the value of Options has the following meanings: When the List of options is null, no Options element will be created; When the List of options is an empty List, or is Collection.EMPTY_LIST, empty Options element <Options></Options> will be created; When the List of options is not empty, Options element with child Option element(s) will be created.
| Constructor Summary | |
RequestedService(org.w3c.dom.Element elem)
Constructor. |
|
RequestedService(java.util.List options,
java.lang.String serviceType)
Constructor |
|
| Method Summary | |
java.util.List |
getOptions()
Gets list of options |
java.lang.String |
getServiceType()
Gets service type |
void |
setOptions(java.util.List options)
Sets options |
void |
setServiceType(java.lang.String serviceType)
Sets service type |
java.lang.String |
toString()
Returns string format |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RequestedService(java.util.List options,
java.lang.String serviceType)
options - List of String, each is a URI specifying an option the
returned resource offering should support.serviceType - URI specifying the type of service to be returned
public RequestedService(org.w3c.dom.Element elem)
throws DiscoveryException
elem - RequestedService DOM elementDiscoveryException - if error occurs| Method Detail |
public java.util.List getOptions()
public void setOptions(java.util.List options)
options - List of option to be setpublic java.lang.String getServiceType()
public void setServiceType(java.lang.String serviceType)
serviceType - Stringpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||