public abstract class AbstractToXMLNode extends Node
Node
to convert a stream to XML. Subclasses of this
shall specialize for a certain set of MIME types.Node.Cardinality
Constructor and Description |
---|
AbstractToXMLNode() |
Modifier and Type | Method and Description |
---|---|
boolean |
isUseMetadataEnvelope() |
void |
setUseMetadataEnvelope(boolean useMetadataEnvelope)
Set a flag indicating whether the generated XML should be wrapped in an envelope
containing also the stream meta data (from
Stream.getDescriptor() ). |
addTransportReceiver, appendSuccessor, apply, equals, getInputCardinality, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, getWorkerClassName, hashCode, initialize, prependPredecessor, remove, validateConfiguration
public boolean isUseMetadataEnvelope()
public void setUseMetadataEnvelope(boolean useMetadataEnvelope)
Set a flag indicating whether the generated XML should be wrapped in an envelope
containing also the stream meta data (from Stream.getDescriptor()
).
if this flag was set the resulting document will look like this:
<envelope> <stream ... > <!-- the meta data --> </stream> <whatever ... > <!-- generated XML goes here --> </whatever> </envelope>
useMetadataEnvelope
- the useMetadataEnvelope to setCopyright © 2017 levigo holding gmbh. All rights reserved.