|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jersey.api.json.JSONConfiguration.Builder
com.sun.jersey.api.json.JSONConfiguration.MappedJettisonBuilder
public static class JSONConfiguration.MappedJettisonBuilder
Builder class for constructing JSONConfiguration options
for the JSONConfiguration.Notation.MAPPED_JETTISON convention.
| Field Summary |
|---|
| Fields inherited from class com.sun.jersey.api.json.JSONConfiguration.Builder |
|---|
arrays, attrsAsElems, humanReadableFormatting, jsonXml2JsonNs, nonStrings, rootUnwrapping, usePrefixAtNaturalAttributes |
| Method Summary | |
|---|---|
JSONConfiguration.MappedJettisonBuilder |
xml2JsonNs(java.util.Map<java.lang.String,java.lang.String> jsonXml2JsonNs)
Setter for XML to JSON namespace mapping. |
| Methods inherited from class com.sun.jersey.api.json.JSONConfiguration.Builder |
|---|
build |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public JSONConfiguration.MappedJettisonBuilder xml2JsonNs(java.util.Map<java.lang.String,java.lang.String> jsonXml2JsonNs)
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||