public class ObjectDataCompiler extends DataProviderCompiler
Constructor and Description |
---|
ObjectDataCompiler() |
Modifier and Type | Method and Description |
---|---|
String |
compile(Collection<?> objs,
InputStream templateStream)
Compile templates, substituting from a collection of maps or objects
into the given template.
|
String |
compile(Collection<?> objs,
String template)
Compile templates, substituting from a collection of maps or objects
into the given template.
|
closeStream, compile, compile, compile, compile, compile, compile, newCell
public String compile(Collection<?> objs, String template)
objs
- the collection of maps or objectstemplate
- the template resource pathnamepublic String compile(Collection<?> objs, InputStream templateStream)
objs
- objs the collection of maps or objectstemplateStream
- the template as a streamCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.