public class JSONReaderConfigurator extends Object implements ReaderConfigurator
JSONReader
configuration on a Smooks
instance.Constructor and Description |
---|
JSONReaderConfigurator() |
Modifier and Type | Method and Description |
---|---|
JSONReaderConfigurator |
setArrayElementName(String arrayElementName) |
JSONReaderConfigurator |
setEncoding(Charset encoding) |
JSONReaderConfigurator |
setIllegalElementNameCharReplacement(String illegalElementNameCharReplacement) |
JSONReaderConfigurator |
setKeyMap(Map<String,String> keyMap) |
JSONReaderConfigurator |
setKeyPrefixOnNumeric(String keyPrefixOnNumeric) |
JSONReaderConfigurator |
setKeyWhitspaceReplacement(String keyWhitspaceReplacement) |
JSONReaderConfigurator |
setNullValueReplacement(String nullValueReplacement) |
JSONReaderConfigurator |
setRootName(String rootName) |
JSONReaderConfigurator |
setTargetProfile(String targetProfile) |
List<SmooksResourceConfiguration> |
toConfig()
Create the
SmooksResourceConfiguration list for the Reader to be used by the Smooks instance. |
public JSONReaderConfigurator setRootName(String rootName)
public JSONReaderConfigurator setArrayElementName(String arrayElementName)
public JSONReaderConfigurator setKeyWhitspaceReplacement(String keyWhitspaceReplacement)
public JSONReaderConfigurator setKeyPrefixOnNumeric(String keyPrefixOnNumeric)
public JSONReaderConfigurator setIllegalElementNameCharReplacement(String illegalElementNameCharReplacement)
public JSONReaderConfigurator setNullValueReplacement(String nullValueReplacement)
public JSONReaderConfigurator setEncoding(Charset encoding)
public JSONReaderConfigurator setKeyMap(Map<String,String> keyMap)
public JSONReaderConfigurator 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.