public class Exports extends Object implements ContentHandler<Exports>
Export
s that Smooks
produces/exports.
The map uses the type of of result as its key and the Export
as its value.Constructor and Description |
---|
Exports() |
Exports(Class<?> resultType) |
Exports(Export export) |
Exports(Set<Export> exportTypes) |
Exports(String resultType) |
Modifier and Type | Method and Description |
---|---|
static void |
addExport(ApplicationContext appContext,
Export export) |
void |
addExport(Export export) |
Result[] |
createResults() |
static List<Object> |
extractResults(Result[] results,
Exports exports)
Will return the Objects contained in the results array.
|
Export |
getExport(Class<?> type) |
Collection<Export> |
getExports() |
static Exports |
getExports(ApplicationContext appContext) |
Collection<Export> |
getProducts() |
Set<Class<?>> |
getResultTypes() |
boolean |
hasExports() |
void |
setExportsInAppContext() |
static void |
setExportsInApplicationContext(ApplicationContext appContext,
Exports exports) |
public Exports()
public Exports(Export export)
public Exports(Class<?> resultType)
public Exports(String resultType)
@Initialize public void setExportsInAppContext()
public void addExport(Export export)
public Collection<Export> getExports()
public boolean hasExports()
public Result[] createResults()
public Collection<Export> getProducts()
public static void setExportsInApplicationContext(ApplicationContext appContext, Exports exports)
public static Exports getExports(ApplicationContext appContext)
public static void addExport(ApplicationContext appContext, Export export)
public static List<Object> extractResults(Result[] results, Exports exports)
Export
for that result type was configured with an extract property
only that portion of the result will be returned.results
- The results produced by a Smooks filtering operation.exports
- The exports.Copyright © 2020. All rights reserved.