org.glassfish.jersey.moxy.json
Class MoxyJsonConfig
java.lang.Object
org.glassfish.jersey.moxy.json.MoxyJsonConfig
public final class MoxyJsonConfig
- extends Object
Configuration class for MOXy JSON provider.
- Author:
- Michal Gajdos (michal.gajdos at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoxyJsonConfig
public MoxyJsonConfig()
MoxyJsonConfig
public MoxyJsonConfig(boolean initDefaultProperties)
property
public MoxyJsonConfig property(String name,
Object value)
marshallerProperty
public MoxyJsonConfig marshallerProperty(String name,
Object value)
unmarshallerProperty
public MoxyJsonConfig unmarshallerProperty(String name,
Object value)
setMarshallerProperties
public MoxyJsonConfig setMarshallerProperties(Map<String,Object> marshallerProperties)
setUnmarshallerProperties
public MoxyJsonConfig setUnmarshallerProperties(Map<String,Object> unmarshallerProperties)
getMarshallerProperties
public Map<String,Object> getMarshallerProperties()
getUnmarshallerProperties
public Map<String,Object> getUnmarshallerProperties()
getAttributePrefix
public String getAttributePrefix()
- See Also:
MOXyJsonProvider.getAttributePrefix()
setAttributePrefix
public MoxyJsonConfig setAttributePrefix(String attributePrefix)
- See Also:
MOXyJsonProvider.setAttributePrefix(String)
isFormattedOutput
public boolean isFormattedOutput()
- See Also:
MOXyJsonProvider.isFormattedOutput()
setFormattedOutput
public MoxyJsonConfig setFormattedOutput(boolean formattedOutput)
- See Also:
MOXyJsonProvider.setFormattedOutput(boolean)
isIncludeRoot
public boolean isIncludeRoot()
- See Also:
MOXyJsonProvider.isIncludeRoot()
setIncludeRoot
public MoxyJsonConfig setIncludeRoot(boolean includeRoot)
- See Also:
MOXyJsonProvider.setIncludeRoot(boolean)
isMarshalEmptyCollections
public boolean isMarshalEmptyCollections()
- See Also:
MOXyJsonProvider.isMarshalEmptyCollections()
setMarshalEmptyCollections
public MoxyJsonConfig setMarshalEmptyCollections(boolean marshalEmptyCollections)
- See Also:
MOXyJsonProvider.setMarshalEmptyCollections(boolean)
getNamespacePrefixMapper
public Map<String,String> getNamespacePrefixMapper()
- See Also:
MOXyJsonProvider.getNamespacePrefixMapper()
setNamespacePrefixMapper
public MoxyJsonConfig setNamespacePrefixMapper(Map<String,String> namespacePrefixMapper)
- See Also:
MOXyJsonProvider.setNamespacePrefixMapper(java.util.Map)
getNamespaceSeparator
public char getNamespaceSeparator()
- See Also:
MOXyJsonProvider.getNamespaceSeparator()
setNamespaceSeparator
public MoxyJsonConfig setNamespaceSeparator(char namespaceSeparator)
- See Also:
MOXyJsonProvider.setNamespaceSeparator(char)
getValueWrapper
public String getValueWrapper()
- See Also:
MOXyJsonProvider.getValueWrapper()
setValueWrapper
public MoxyJsonConfig setValueWrapper(String valueWrapper)
- See Also:
MOXyJsonProvider.setValueWrapper(String)
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.