com.unboundid.scim.marshal.xml
Class XmlBulkParser

java.lang.Object
  extended by com.unboundid.scim.marshal.xml.XmlBulkParser

public class XmlBulkParser
extends Object

This class is a helper class to handle parsing of XML bulk operations.


Constructor Summary
XmlBulkParser(InputStream inputStream, BulkConfig bulkConfig, BulkContentHandler handler)
          Create a new instance of this bulk unmarshaller.
 
Method Summary
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlBulkParser

public XmlBulkParser(InputStream inputStream,
                     BulkConfig bulkConfig,
                     BulkContentHandler handler)
Create a new instance of this bulk unmarshaller.

Parameters:
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

setSkipOperations

public void setSkipOperations(boolean skipOperations)
Specify whether bulk operations should be skipped.

Parameters:
skipOperations - true if bulk operations should be skipped.

unmarshal

public void unmarshal()
               throws SCIMException
Reads a SCIM bulk request or response from the input stream.

Throws:
SCIMException - If the bulk content could not be read.


Copyright © 2011-2012 UnboundID. All Rights Reserved.