public class RecordXmlTransformer extends AbstractRecordHandler
AbstractRecordHandler.InputField
log, paramList
Constructor and Description |
---|
RecordXmlTransformer() |
Modifier and Type | Method and Description |
---|---|
void |
configure() |
protected String |
getXml(List<String> parsedRecord) |
String |
handleRecord(PipeLineSession session,
List<String> parsedRecord)
Perform an action on the array of fields.
|
void |
setEndOfRecord(String string)
String which ends the record and must be ignored
|
void |
setNamespaceDefs(String namespaceDefs)
Namespace defintions for xpathExpression.
|
void |
setOmitXmlDeclaration(boolean b)
Force the transformer generated from the xpath-expression to omit the xml declaration
|
void |
setOutputFields(String fieldLengths)
comma separated string with tagnames for the individual input fields (related using there positions).
|
void |
setOutputType(TransformerPool.OutputType outputType)
Only valid for
xpathExpression |
void |
setRootTag(String string)
Root tag for the generated xml document that will be send to the Sender
|
void |
setStyleSheetName(String string)
Name of stylesheet to transform an individual record
|
void |
setXpathExpression(String string)
Alternatively: xpath-expression to create stylesheet from
|
addInputField, addParameter, close, getNumberOfInputFields, getParameterList, getRecordIdentifyingFieldList, getRecordType, isNewRecordType, open, parse, registerChild, registerInputFields, setFieldsDifferConditionForPrefix, setInputFields, setInputSeparator, setName, setRecordIdentifyingFields, setTrim
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
getApplicationContext, getName
getConfigurationClassLoader
public void configure() throws ConfigurationException
configure
in interface IConfigurable
configure
in class AbstractRecordHandler
ConfigurationException
public String handleRecord(PipeLineSession session, List<String> parsedRecord) throws Exception
IRecordHandler
Exception
public void setOutputFields(String fieldLengths)
public void setRootTag(String string)
public void setStyleSheetName(String string)
public void setXpathExpression(String string)
public void setNamespaceDefs(String namespaceDefs)
prefix=namespaceuri
-definitions. One entry can be without a prefix, that will define the default namespace.public void setOutputType(TransformerPool.OutputType outputType)
xpathExpression
public void setOmitXmlDeclaration(boolean b)
public void setEndOfRecord(String string)
Copyright © 2023 Frank!Framework. All rights reserved.