|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Unmarshaller
This interface provides methods that may be used to read SCIM objects from their external representation. There are un-marshaller implementations for XML and JSON. Un-marshaller implementations are required to be thread-safe.
| Method Summary | ||
|---|---|---|
void |
bulkUnmarshal(File file,
BulkConfig bulkConfig,
BulkContentHandler handler)
Reads a SCIM bulk request or response from a file. |
|
void |
bulkUnmarshal(InputStream inputStream,
BulkConfig bulkConfig,
BulkContentHandler handler)
Reads a SCIM bulk request or response from an input stream. |
|
|
unmarshal(InputStream inputStream,
ResourceDescriptor resourceDescriptor,
ResourceFactory<R> resourceFactory)
Reads a SCIM resource from an input stream. |
|
SCIMException |
unmarshalError(InputStream inputStream)
Reads a SCIM error response from an input stream. |
|
|
unmarshalResources(InputStream inputStream,
ResourceDescriptor resourceDescriptor,
ResourceFactory<R> resourceFactory)
Reads a SCIM query response from an input stream. |
|
| Method Detail |
|---|
<R extends BaseResource> R unmarshal(InputStream inputStream,
ResourceDescriptor resourceDescriptor,
ResourceFactory<R> resourceFactory)
throws InvalidResourceException
R - The type of resource instance.inputStream - The input stream containing the SCIM object to be read.resourceDescriptor - The descriptor of the SCIM resource to be read.resourceFactory - The resource factory to use to create the resource
instance.
InvalidResourceException - If an error occurred.
<R extends BaseResource> Resources<R> unmarshalResources(InputStream inputStream,
ResourceDescriptor resourceDescriptor,
ResourceFactory<R> resourceFactory)
throws InvalidResourceException
R - The type of resource instance.inputStream - The input stream containing the SCIM object to be read.resourceDescriptor - The descriptor of the SCIM resource to be read.resourceFactory - The resource factory to use to create the resource
instance.
InvalidResourceException - If an error occurred.
SCIMException unmarshalError(InputStream inputStream)
throws InvalidResourceException
inputStream - The input stream containing the SCIM object to be read.
InvalidResourceException - If an error occurred.
void bulkUnmarshal(InputStream inputStream,
BulkConfig bulkConfig,
BulkContentHandler handler)
throws SCIMException
inputStream - The input stream containing the bulk content to be
read.bulkConfig - The bulk configuration settings to be enforced.handler - A bulk operation listener to handle the content as it
is read.
SCIMException - If the bulk content could not be read.
void bulkUnmarshal(File file,
BulkConfig bulkConfig,
BulkContentHandler handler)
throws SCIMException
file - The file containing the bulk content to be read.bulkConfig - The bulk configuration settings to be enforced.handler - A bulk operation listener to handle the content as it
is read.
SCIMException - If the bulk content could not be read.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||