org.glassfish.jersey.jettison
Class JettisonConfig.MappedJettisonBuilder
java.lang.Object
org.glassfish.jersey.jettison.JettisonConfig.Builder
org.glassfish.jersey.jettison.JettisonConfig.MappedJettisonBuilder
- Enclosing class:
- JettisonConfig
public static class JettisonConfig.MappedJettisonBuilder
- extends JettisonConfig.Builder
Builder class for constructing JettisonConfig options
for the JettisonConfig.Notation.MAPPED_JETTISON convention.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xml2JsonNs
public JettisonConfig.MappedJettisonBuilder xml2JsonNs(Map<String,String> jsonXml2JsonNs)
- Setter for XML to JSON namespace mapping.
This property is valid for the
JettisonConfig.Notation.MAPPED_JETTISON
notation 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-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.