public abstract class AbstractDocumentMarshallingStrategy extends Object implements org.kie.api.marshalling.ObjectMarshallingStrategy
| Constructor and Description |
|---|
AbstractDocumentMarshallingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Object o) |
abstract Document |
buildDocument(String name,
long size,
Date lastModified,
Map<String,String> params)
Creates a valid Document instance with the data received.
|
public abstract Document buildDocument(String name, long size, Date lastModified, Map<String,String> params)
name - The document name.size - The size of the document content.lastModified - The last modified date of the document.params - A Map that contain params for the document creation.public boolean accept(Object o)
accept in interface org.kie.api.marshalling.ObjectMarshallingStrategyCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.