|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.unboundid.scim.marshal.xml.XmlUnmarshaller
public class XmlUnmarshaller
This class provides a SCIM object un-marshaller implementation to read SCIM objects from their XML representation.
| Constructor Summary | |
|---|---|
XmlUnmarshaller()
|
|
| 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. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlUnmarshaller()
| Method Detail |
|---|
public <R extends BaseResource> R unmarshal(InputStream inputStream,
ResourceDescriptor resourceDescriptor,
ResourceFactory<R> resourceFactory)
throws InvalidResourceException
unmarshal in interface UnmarshallerR - 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.
public <R extends BaseResource> Resources<R> unmarshalResources(InputStream inputStream,
ResourceDescriptor resourceDescriptor,
ResourceFactory<R> resourceFactory)
throws InvalidResourceException
unmarshalResources in interface UnmarshallerR - 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.
public SCIMException unmarshalError(InputStream inputStream)
throws InvalidResourceException
unmarshalError in interface UnmarshallerinputStream - The input stream containing the SCIM object to be read.
InvalidResourceException - If an error occurred.
public void bulkUnmarshal(InputStream inputStream,
BulkConfig bulkConfig,
BulkContentHandler handler)
throws SCIMException
bulkUnmarshal in interface UnmarshallerinputStream - 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.
public void bulkUnmarshal(File file,
BulkConfig bulkConfig,
BulkContentHandler handler)
throws SCIMException
bulkUnmarshal in interface Unmarshallerfile - 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 | |||||||||