@Bindable(prefix="XmlDocumentSourceHelper") public class XmlDocumentSourceHelper extends Object
IDocumentSource based on XML/XSLT is likely
to need. This helper does note expose any attributes, so that different implementations
can decide which attributes they expose.| Modifier and Type | Field and Description |
|---|---|
int |
timeout
Data transfer timeout.
|
| Constructor and Description |
|---|
XmlDocumentSourceHelper() |
| Modifier and Type | Method and Description |
|---|---|
ProcessingResult |
loadProcessingResult(InputStream xml,
Templates stylesheet,
Map<String,String> xsltParameters)
Loads a
ProcessingResult from the provided InputStream, applying
XSLT transform if specified. |
Templates |
loadXslt(IResource xslt)
Loads the XSLT stylesheet from the provided
IResource. |
@Input @Processing @Attribute @IntRange(min=0, max=300) @Label(value="Data transfer timeout") @Level(value=ADVANCED) @Group(value="Service") public int timeout
public ProcessingResult loadProcessingResult(InputStream xml, Templates stylesheet, Map<String,String> xsltParameters) throws Exception
ProcessingResult from the provided InputStream, applying
XSLT transform if specified. The provided InputStream will be closed.Exception