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 TypeMethodDescriptionvoidDeprecated.Configure this component.protected XmlBuilderDeprecated.handleRecord(PipeLineSession session, List<String> parsedRecord) Deprecated.Perform an action on the array of fields.voidsetEndOfRecord(String string) Deprecated.String which ends the record and must be ignoredvoidsetNamespaceDefs(String namespaceDefs) Deprecated.Namespace defintions for xpathExpression.voidsetOmitXmlDeclaration(boolean b) Deprecated.Force the transformer generated from the xpath-expression to omit the xml declarationvoidsetOutputFields(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-izedvoidsetOutputType(TransformerPool.OutputType outputType) Deprecated.Only valid forxpathExpressionvoidsetRootTag(String string) Deprecated.Root tag for the generated xml document that will be send to the SendervoidsetStyleSheetName(String string) Deprecated.Name of stylesheet to transform an individual recordvoidsetXpathExpression(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, setTrimMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContextMethods inherited from interface org.frankframework.core.FrankElement
addConfigWarningMethods inherited from interface org.frankframework.core.HasApplicationContext
getApplicationContext, getConfigurationClassLoaderMethods inherited from interface org.frankframework.batch.IRecordHandler
getRecordLength
-
Constructor Details
-
RecordXmlTransformer
public RecordXmlTransformer()Deprecated.
-
-
Method Details
-
configure
Deprecated.Description copied from interface:IConfigurableConfigure 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:
configurein interfaceIConfigurable- Overrides:
configurein classAbstractRecordHandler- Throws:
ConfigurationException- in case it was not able to configure the component.
-
handleRecord
Deprecated.Description copied from interface:IRecordHandlerPerform 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
-