org.glassfish.jersey.media.json
Class JsonConfiguration.MappedJettisonBuilder
java.lang.Object
org.glassfish.jersey.media.json.JsonConfiguration.Builder
org.glassfish.jersey.media.json.JsonConfiguration.MappedJettisonBuilder
- Enclosing class:
- JsonConfiguration
public static class JsonConfiguration.MappedJettisonBuilder
- extends JsonConfiguration.Builder
Builder class for constructing JsonConfiguration options
for the JsonConfiguration.Notation.MAPPED_JETTISON convention.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xml2JsonNs
public JsonConfiguration.MappedJettisonBuilder xml2JsonNs(Map<String,String> jsonXml2JsonNs)
- Setter for XML to JSON namespace mapping.
This property is valid for the
JsonConfiguration.Notation.MAPPED_JETTISON
and JsonConfiguration.Notation.MAPPED notations only.
The value is a map with zero or more
key/value pairs, where the key is an XML namespace and the value
is the prefix to use as the replacement for the XML namespace.
The default value is a map with zero key/value pairs.
- Parameters:
jsonXml2JsonNs - XML to JSON namespace map.
- Returns:
- updated builder instance.
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.