|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Marshaller
This interface provides methods that may be used to write SCIM objects to an external representation. There are marshaller implementations for XML and JSON. Marshaller implementations are required to be thread-safe.
| Method Summary | |
|---|---|
void |
bulkMarshal(OutputStream outputStream,
int failOnErrors,
List<BulkOperation> operations)
Write the content of a SCIM bulk operation request or response to an output stream. |
void |
marshal(BaseResource resource,
OutputStream outputStream)
Write a SCIM object to an output stream. |
void |
marshal(Resources<? extends BaseResource> response,
OutputStream outputStream)
Write a SCIM listing response to an output stream. |
void |
marshal(SCIMException response,
OutputStream outputStream)
Write a SCIM error response to an output stream. |
| Method Detail |
|---|
void marshal(BaseResource resource,
OutputStream outputStream)
throws SCIMException
resource - The SCIM resource to be written.outputStream - The output stream to which the SCIM object should
be written.
SCIMException - If the data could not be written.
void marshal(Resources<? extends BaseResource> response,
OutputStream outputStream)
throws SCIMException
response - The SCIM response to be written.outputStream - The output stream to which the SCIM response should
be written.
SCIMException - If the data could not be written.
void marshal(SCIMException response,
OutputStream outputStream)
throws SCIMException
response - The SCIM response to be written.outputStream - The output stream to which the SCIM response should
be written.
SCIMException - If the data could not be written.
void bulkMarshal(OutputStream outputStream,
int failOnErrors,
List<BulkOperation> operations)
throws SCIMException
outputStream - The output stream to which the content should be
written.failOnErrors - The value of failOnErrors, or -1 to not provide a
value.operations - The bulk operations to include in the content.
SCIMException - If the data could not be written.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||