public interface ClipboardDataStreamMapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
void |
deserialize(ClipboardPage page,
java.io.Reader dataStreamSource)
Populates the provided clipboard page with the contents in the data stream.
|
void |
deserialize(ClipboardPage page,
java.io.Reader dataStreamSource,
EntityMap map)
Populates the provided clipboard page with the contents in the data stream
according to the mapping specified in the map parameter.
|
void |
deserialize(ClipboardProperty property,
java.io.Reader dataStreamSource)
Populates the provided clipboard property with the contents in the data stream.
|
void |
deserialize(ClipboardProperty property,
java.io.Reader dataStreamSource,
EntityMap map)
Populates the provided clipboard property with the contents in the data stream
according to the mapping specified in the map parameter.
|
EntityMapBuilder |
getEntityMapBuilder()
Use the EntityMetadataBuilder to build the EntityMap required for
achieving custom deserialization/serialization
|
void |
serialize(ClipboardPage page,
java.io.Writer dataStreamTarget)
Converts and writes the clipboard page contents into the provided data stream target.
|
void |
serialize(ClipboardPage page,
java.io.Writer dataStreamTarget,
EntityMap map)
Converts and writes the clipboard page contents into the provided data stream target
according to the mapping specified in the map parameter.
|
void |
serialize(ClipboardProperty property,
java.io.Writer dataStreamTarget)
Converts and writes the clipboard property contents into the provided data stream target.
|
void |
serialize(ClipboardProperty property,
java.io.Writer dataStreamTarget,
EntityMap map)
Converts and writes the clipboard property contents into the provided data stream target
according to the mapping specified in the map parameter.
|
void deserialize(ClipboardPage page, java.io.Reader dataStreamSource)
page
- dataStreamSource
- java.lang.IllegalArgumentException
- Invalid input for dataStreamSourcejava.lang.IllegalStateException
- Parsing input data entered an illegal statePRRuntimeException
- Runtime errors mapping the inputvoid deserialize(ClipboardProperty property, java.io.Reader dataStreamSource)
This method auto maps the data stream on to the clipboard page.
property
- dataStreamSource
- java.lang.IllegalArgumentException
- Invalid input for dataStreamSourcejava.lang.IllegalStateException
- Parsing input data entered an illegal statePRRuntimeException
- Runtime errors mapping the inputvoid deserialize(ClipboardPage page, java.io.Reader dataStreamSource, EntityMap map)
Use getEntityMapBuilder()
to create a map.
page
- dataStreamSource
- map
- java.lang.IllegalArgumentException
- Invalid input for dataStreamSourcejava.lang.IllegalStateException
- Parsing input data entered an illegal statePRRuntimeException
- Runtime errors mapping the inputvoid deserialize(ClipboardProperty property, java.io.Reader dataStreamSource, EntityMap map)
Use getEntityMapBuilder()
to create a map.
property
- dataStreamSource
- map
- java.lang.IllegalArgumentException
- Invalid input for dataStreamSourcejava.lang.IllegalStateException
- Parsing input data entered an illegal statePRRuntimeException
- Runtime errors mapping the inputvoid serialize(ClipboardPage page, java.io.Writer dataStreamTarget)
page
- dataStreamTarget
- PRRuntimeException
- runtime issues with data stream generationvoid serialize(ClipboardProperty property, java.io.Writer dataStreamTarget)
property
- dataStreamTarget
- PRRuntimeException
- runtime issues with data stream generationvoid serialize(ClipboardPage page, java.io.Writer dataStreamTarget, EntityMap map)
Use getEntityMapBuilder()
to create a map.
page
- dataStreamTarget
- map
- PRRuntimeException
- runtime issues with data stream generationvoid serialize(ClipboardProperty property, java.io.Writer dataStreamTarget, EntityMap map)
Use getEntityMapBuilder()
to create a map.
property
- dataStreamTarget
- map
- PRRuntimeException
- runtime issues with data stream generationEntityMapBuilder getEntityMapBuilder()
Copyright © 2018 Pegasystems Inc. All Rights Reserved.