public class FixedLengthReaderConfigurator extends Object implements ReaderConfigurator
FixedLengthReader
configuration on a Smooks
instance.Constructor and Description |
---|
FixedLengthReaderConfigurator(String fields) |
Modifier and Type | Method and Description |
---|---|
FixedLengthReaderConfigurator |
setBinding(FixedLengthBinding binding) |
FixedLengthReaderConfigurator |
setEncoding(Charset encoding) |
FixedLengthReaderConfigurator |
setIndent(boolean indent) |
FixedLengthReaderConfigurator |
setLineNumber(boolean lineNumber) |
FixedLengthReaderConfigurator |
setLineNumberAttributeName(String lineNumberAttributeName) |
FixedLengthReaderConfigurator |
setRecordElementName(String recordElementName) |
FixedLengthReaderConfigurator |
setRootElementName(String rootElementName) |
FixedLengthReaderConfigurator |
setSkipLines(int skipLines) |
FixedLengthReaderConfigurator |
setStrict(boolean strict) |
FixedLengthReaderConfigurator |
setTargetProfile(String targetProfile) |
FixedLengthReaderConfigurator |
setTruncatedAttributeName(String truncatedAttributeName) |
List<SmooksResourceConfiguration> |
toConfig()
Create the
SmooksResourceConfiguration list for the Reader to be used by the Smooks instance. |
public FixedLengthReaderConfigurator(String fields)
public FixedLengthReaderConfigurator setSkipLines(int skipLines)
public FixedLengthReaderConfigurator setEncoding(Charset encoding)
public FixedLengthReaderConfigurator setRootElementName(String rootElementName)
public FixedLengthReaderConfigurator setRecordElementName(String recordElementName)
public FixedLengthReaderConfigurator setLineNumberAttributeName(String lineNumberAttributeName)
public FixedLengthReaderConfigurator setTruncatedAttributeName(String truncatedAttributeName)
public FixedLengthReaderConfigurator setIndent(boolean indent)
public FixedLengthReaderConfigurator setStrict(boolean strict)
public FixedLengthReaderConfigurator setBinding(FixedLengthBinding binding)
public FixedLengthReaderConfigurator setLineNumber(boolean lineNumber)
public FixedLengthReaderConfigurator setTargetProfile(String targetProfile)
public List<SmooksResourceConfiguration> toConfig()
ReaderConfigurator
SmooksResourceConfiguration
list for the Reader to be used by the Smooks instance.toConfig
in interface ReaderConfigurator
SmooksResourceConfiguration
list.Copyright © 2020. All rights reserved.