org.milyn.json
Class JSONReaderConfigurator
java.lang.Object
org.milyn.json.JSONReaderConfigurator
- All Implemented Interfaces:
- ReaderConfigurator
public class JSONReaderConfigurator
- extends java.lang.Object
- implements ReaderConfigurator
JSON Reader configurator.
Supports programmatic JSONReader configuration on a Smooks instance.
- Author:
- tom.fennelly@jboss.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONReaderConfigurator
public JSONReaderConfigurator()
setRootName
public JSONReaderConfigurator setRootName(java.lang.String rootName)
setArrayElementName
public JSONReaderConfigurator setArrayElementName(java.lang.String arrayElementName)
setKeyWhitspaceReplacement
public JSONReaderConfigurator setKeyWhitspaceReplacement(java.lang.String keyWhitspaceReplacement)
setKeyPrefixOnNumeric
public JSONReaderConfigurator setKeyPrefixOnNumeric(java.lang.String keyPrefixOnNumeric)
setIllegalElementNameCharReplacement
public JSONReaderConfigurator setIllegalElementNameCharReplacement(java.lang.String illegalElementNameCharReplacement)
setNullValueReplacement
public JSONReaderConfigurator setNullValueReplacement(java.lang.String nullValueReplacement)
setEncoding
public JSONReaderConfigurator setEncoding(java.nio.charset.Charset encoding)
setKeyMap
public JSONReaderConfigurator setKeyMap(java.util.Map<java.lang.String,java.lang.String> keyMap)
setTargetProfile
public JSONReaderConfigurator setTargetProfile(java.lang.String targetProfile)
toConfig
public java.util.List<SmooksResourceConfiguration> toConfig()
- Specified by:
toConfig in interface ReaderConfigurator
Copyright © 2011. All Rights Reserved.