Modifier and Type | Method and Description |
---|---|
static void |
registerPersistenceDelegates(Map<String,PersistenceDelegate> map) |
static void |
save(FormModel model,
OutputStream out)
Saves a form model to the given output stream.
|
public static void save(FormModel model, OutputStream out) throws MultiException
A BufferedOutputStream
is used to improve performance.
model
- The form model.out
- The output stream. Closed when this method returns.IllegalArgumentException
- If the output stream is null
.MultiException
- If a problem occurred when encoding the form model to XML.public static void registerPersistenceDelegates(Map<String,PersistenceDelegate> map)
Copyright (C) 2004-2019 FormDev Software GmbH. All rights reserved.