com.sun.jersey.api.json
Class JSONConfiguration.Builder
java.lang.Object
com.sun.jersey.api.json.JSONConfiguration.Builder
- Direct Known Subclasses:
- JSONConfiguration.MappedBuilder, JSONConfiguration.MappedJettisonBuilder, JSONConfiguration.NaturalBuilder
- Enclosing class:
- JSONConfiguration
public static class JSONConfiguration.Builder
- extends Object
Builder class for constructing JSONConfiguration
options
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
arrays
protected Collection<String> arrays
attrsAsElems
protected Collection<String> attrsAsElems
nonStrings
protected Collection<String> nonStrings
rootUnwrapping
protected boolean rootUnwrapping
humanReadableFormatting
protected boolean humanReadableFormatting
jsonXml2JsonNs
protected Map<String,String> jsonXml2JsonNs
usePrefixAtNaturalAttributes
protected boolean usePrefixAtNaturalAttributes
namespaceSeparator
protected Character namespaceSeparator
build
public JSONConfiguration build()
- Constructs a new immutable
JSONConfiguration
object based on options set on this Builder
- Returns:
- a non-null
JSONConfiguration
instance
Copyright © 2013 Oracle Corporation. All Rights Reserved.