|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.unboundid.scim.marshal.json.JsonParser
com.unboundid.scim.marshal.json.JsonBulkParser
public class JsonBulkParser
This class is a helper class to handle parsing of JSON bulk operations.
| Constructor Summary | |
|---|---|
JsonBulkParser(InputStream inputStream,
BulkConfig bulkConfig,
BulkContentHandler handler)
Create a new instance of this bulk unmarshaller. |
|
| Method Summary | |
|---|---|
protected SCIMAttribute |
createSimpleAttribute(Object jsonAttribute,
AttributeDescriptor attributeDescriptor)
Parse a simple attribute from its representation as a JSON Object. |
void |
setSkipOperations(boolean skipOperations)
Specify whether bulk operations should be skipped. |
void |
unmarshal()
Reads a SCIM bulk request or response from the input stream. |
| Methods inherited from class com.unboundid.scim.marshal.json.JsonParser |
|---|
create, createComplexAttribute, createMutiValuedAttribute, unmarshal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JsonBulkParser(InputStream inputStream,
BulkConfig bulkConfig,
BulkContentHandler handler)
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.| Method Detail |
|---|
public void setSkipOperations(boolean skipOperations)
skipOperations - true if bulk operations should be skipped.
public void unmarshal()
throws SCIMException
SCIMException - If the bulk content could not be read.
protected SCIMAttribute createSimpleAttribute(Object jsonAttribute,
AttributeDescriptor attributeDescriptor)
createSimpleAttribute in class JsonParserjsonAttribute - The JSON object representing the attribute.attributeDescriptor - The attribute descriptor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||