public class XmlOutputWriterStrategy extends Object implements OutputWriterStrategy
| Modifier and Type | Field and Description |
|---|---|
static QName |
QNAME_ACTIVITY |
static QName |
QNAME_ACTIVITY_ARRAY |
| Constructor and Description |
|---|
XmlOutputWriterStrategy(OutputStream outputStream) |
| Modifier and Type | Method and Description |
|---|---|
static void |
assignDefaultFeatures(com.fasterxml.jackson.databind.ObjectMapper mapper) |
void |
closeWriter()
Closes the writer but does not release or close the underlying output stream.
|
void |
writeActivity(Activity activity)
Write an
Activity to the provided output-stream
using the implementation-specific transformation of the content. |
public static final QName QNAME_ACTIVITY_ARRAY
public static final QName QNAME_ACTIVITY
public XmlOutputWriterStrategy(OutputStream outputStream)
public static void assignDefaultFeatures(com.fasterxml.jackson.databind.ObjectMapper mapper)
public void writeActivity(Activity activity)
Activity to the provided output-stream
using the implementation-specific transformation of the content.writeActivity in interface OutputWriterStrategyactivity - the activity that will be transformed according to the strategy in use and written to the
provided output-streampublic void closeWriter()
throws IOException
closeWriter in interface OutputWriterStrategyIOExceptionCopyright © 2013–2015 Institute of networks and security. All rights reserved.