Package org.frankframework.batch
Class RecordXmlTransformer
java.lang.Object
org.frankframework.batch.AbstractRecordHandler
org.frankframework.batch.RecordXmlTransformer
- All Implemented Interfaces:
IRecordHandler
,FrankElement
,HasApplicationContext
,HasName
,IConfigurable
,IScopeProvider
,IWithParameters
,NameAware
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
RecordXml2Sender
Deprecated.
Warning: non-maintained functionality.
Encapsulates a record in XML, optionally translates it using XSLT or XPath.
- Author:
- John Dekker / Gerrit van Brakel
-
Nested Class Summary
Nested classes/interfaces inherited from class org.frankframework.batch.AbstractRecordHandler
AbstractRecordHandler.InputField
-
Field Summary
Fields inherited from class org.frankframework.batch.AbstractRecordHandler
log, paramList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Configure this component.protected XmlBuilder
Deprecated.handleRecord
(PipeLineSession session, List<String> parsedRecord) Deprecated.Perform an action on the array of fields.void
setEndOfRecord
(String string) Deprecated.String which ends the record and must be ignoredvoid
setNamespaceDefs
(String namespaceDefs) Deprecated.Namespace defintions for xpathExpression.void
setOmitXmlDeclaration
(boolean b) Deprecated.Force the transformer generated from the xpath-expression to omit the xml declarationvoid
setOutputFields
(String fieldLengths) Deprecated.comma separated string with tagnames for the individual input fields (related using there positions). if you leave a tagname empty, the field is not xml-izedvoid
setOutputType
(TransformerPool.OutputType outputType) Deprecated.Only valid forxpathExpression
void
setRootTag
(String string) Deprecated.Root tag for the generated xml document that will be send to the Sendervoid
setStyleSheetName
(String string) Deprecated.Name of stylesheet to transform an individual recordvoid
setXpathExpression
(String string) Deprecated.Alternatively: xpath-expression to create stylesheet fromMethods inherited from class org.frankframework.batch.AbstractRecordHandler
addChild, addInputField, addInputFields, addParameter, close, getNumberOfInputFields, getParameterList, getRecordIdentifyingFieldList, getRecordType, isNewRecordType, open, parse, setFieldsDifferConditionForPrefix, setInputFields, setInputSeparator, setName, setRecordIdentifyingFields, setTrim
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
Methods inherited from interface org.frankframework.core.HasApplicationContext
getApplicationContext, getConfigurationClassLoader
-
Constructor Details
-
RecordXmlTransformer
public RecordXmlTransformer()Deprecated.
-
-
Method Details
-
configure
Deprecated.Description copied from interface:IConfigurable
Configure this component.configure()
is called once at startup of the framework in the configure method of the owner of thisIConfigurable
. Purpose of this method is to check whether the static configuration of the object is correct. As much as possible class-instantiating should take place in theconfigure()
, to improve performance.In the case of a container, this will propagate the configure signal to all components that apply.
- Specified by:
configure
in interfaceIConfigurable
- Overrides:
configure
in classAbstractRecordHandler
- Throws:
ConfigurationException
- in case it was not able to configure the component.
-
handleRecord
Deprecated.Description copied from interface:IRecordHandler
Perform an action on the array of fields.- Returns:
- transformed result
- Throws:
Exception
-
getXml
Deprecated. -
setOutputFields
Deprecated.comma separated string with tagnames for the individual input fields (related using there positions). if you leave a tagname empty, the field is not xml-ized -
setRootTag
Deprecated.Root tag for the generated xml document that will be send to the Sender- Default value
- record
-
setStyleSheetName
Deprecated.Name of stylesheet to transform an individual record -
setXpathExpression
Deprecated.Alternatively: xpath-expression to create stylesheet from -
setNamespaceDefs
Deprecated.Namespace defintions for xpathExpression. Must be in the form of a comma or space separated list ofprefix=namespaceuri
-definitions. One entry can be without a prefix, that will define the default namespace. -
setOutputType
Deprecated.Only valid forxpathExpression
- Default value
- text
-
setOmitXmlDeclaration
public void setOmitXmlDeclaration(boolean b) Deprecated.Force the transformer generated from the xpath-expression to omit the xml declaration- Default value
- true
-
setEndOfRecord
Deprecated.String which ends the record and must be ignored
-