org.milyn.json
Class JSONReaderConfigurator

java.lang.Object
  extended by org.milyn.json.JSONReaderConfigurator
All Implemented Interfaces:
org.milyn.ReaderConfigurator

public class JSONReaderConfigurator
extends Object
implements org.milyn.ReaderConfigurator

JSON Reader configurator.

Supports programmatic JSONReader configuration on a Smooks instance.

Author:
tom.fennelly@jboss.com

Constructor Summary
JSONReaderConfigurator()
           
 
Method Summary
 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<org.milyn.cdr.SmooksResourceConfiguration> toConfig()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONReaderConfigurator

public JSONReaderConfigurator()
Method Detail

setRootName

public JSONReaderConfigurator setRootName(String rootName)

setArrayElementName

public JSONReaderConfigurator setArrayElementName(String arrayElementName)

setKeyWhitspaceReplacement

public JSONReaderConfigurator setKeyWhitspaceReplacement(String keyWhitspaceReplacement)

setKeyPrefixOnNumeric

public JSONReaderConfigurator setKeyPrefixOnNumeric(String keyPrefixOnNumeric)

setIllegalElementNameCharReplacement

public JSONReaderConfigurator setIllegalElementNameCharReplacement(String illegalElementNameCharReplacement)

setNullValueReplacement

public JSONReaderConfigurator setNullValueReplacement(String nullValueReplacement)

setEncoding

public JSONReaderConfigurator setEncoding(Charset encoding)

setKeyMap

public JSONReaderConfigurator setKeyMap(Map<String,String> keyMap)

setTargetProfile

public JSONReaderConfigurator setTargetProfile(String targetProfile)

toConfig

public List<org.milyn.cdr.SmooksResourceConfiguration> toConfig()
Specified by:
toConfig in interface org.milyn.ReaderConfigurator


Copyright © 2018. All rights reserved.