|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StreamMarshaller
This interface provides methods that may be used to write a stream of SCIM objects to an external representation. There are stream marshaller implementations for XML and JSON. Stream marshaller implementations are not required to be thread-safe.
| Method Summary | |
|---|---|
void |
bulkMarshal(int failOnErrors,
List<BulkOperation> operations)
Write the content of a SCIM bulk operation request or response. |
void |
close()
Close the marshaller. |
void |
marshal(BaseResource resource)
Write a SCIM object. |
void |
marshal(Resources<? extends BaseResource> response)
Write a SCIM query response. |
void |
marshal(SCIMException response)
Write a SCIM error response. |
void |
writeBulkFinish()
Write the end of a bulk request or response. |
void |
writeBulkOperation(BulkOperation o)
Write a bulk operation to a bulk request or response. |
void |
writeBulkStart(int failOnErrors,
Set<String> schemaURIs)
Write the start of a bulk request or response. |
| Method Detail |
|---|
void marshal(BaseResource resource)
throws SCIMException
resource - The SCIM resource to be written.
SCIMException - If the data could not be written.
void marshal(Resources<? extends BaseResource> response)
throws SCIMException
response - The SCIM response to be written.
SCIMException - If the data could not be written.
void marshal(SCIMException response)
throws SCIMException
response - The SCIM response to be written.
SCIMException - If the data could not be written.
void bulkMarshal(int failOnErrors,
List<BulkOperation> operations)
throws SCIMException
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.
void writeBulkStart(int failOnErrors,
Set<String> schemaURIs)
throws SCIMException
failOnErrors - The value of failOnErrors, or -1 to not provide a
value.schemaURIs - The set of schema URIs used by the bulk request or
response.
SCIMException - If the data could not be written.
void writeBulkOperation(BulkOperation o)
throws SCIMException
o - The bulk operation to write.
SCIMException - If the data could not be written.
void writeBulkFinish()
throws SCIMException
SCIMException - If the data could not be written.
void close()
throws SCIMException
SCIMException - If the data could not be written.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||