A B C D F G H I J M N R S T U V X

A

arrays - Variable in class com.sun.jersey.api.json.JSONConfiguration.Builder
 
arrays(String...) - Method in class com.sun.jersey.api.json.JSONConfiguration.MappedBuilder
Adds name(s) to JSON arrays configuration property.
attributeAsElement(String...) - Method in class com.sun.jersey.api.json.JSONConfiguration.MappedBuilder
Adds name(s) toJSON attributes as elements property.
attrsAsElems - Variable in class com.sun.jersey.api.json.JSONConfiguration.Builder
 

B

badgerFish() - Static method in class com.sun.jersey.api.json.JSONConfiguration
A static method for obtaining a builder of JSONConfiguration instance, which will use JSONConfiguration.Notation.BADGERFISH JSON notation.
build() - Method in class com.sun.jersey.api.json.JSONConfiguration.Builder
Constructs a new immutable JSONConfiguration object based on options set on this Builder

C

com.sun.jersey.api.json - package com.sun.jersey.api.json
Provides support for enabling and configuring JSON.
createJSONConfigurationWithFormatted(JSONConfiguration, boolean) - Static method in class com.sun.jersey.api.json.JSONConfiguration
A static method for obtaining JSONConfiguration instance with humanReadableFormatting set according to formatted parameter.
createJSONMarshaller() - Method in class com.sun.jersey.api.json.JSONJAXBContext
Create a JSON marshaller.
createJSONUnmarshaller() - Method in class com.sun.jersey.api.json.JSONJAXBContext
Create a JSON unmarshaller.
createMarshaller() - Method in class com.sun.jersey.api.json.JSONJAXBContext
Overrides underlaying createMarshaller method and returns a marshaller which is capable of JSON serialization.
createUnmarshaller() - Method in class com.sun.jersey.api.json.JSONJAXBContext
Overrides underlaying createUnmarshaller method and returns an unmarshaller which is capable of JSON deserialization.
createValidator() - Method in class com.sun.jersey.api.json.JSONJAXBContext
Simply delegates to underlying JAXBContext implementation.

D

DEFAULT - Static variable in class com.sun.jersey.api.json.JSONConfiguration
The default JSONConfiguration uses JSONConfiguration.Notation.MAPPED notation with root unwrapping option set to true.
DEFAULT_CALLBACK_NAME - Static variable in class com.sun.jersey.api.json.JSONWithPadding
 

F

FORMATTED - Static variable in interface com.sun.jersey.api.json.JSONMarshaller
 

G

getArrays() - Method in class com.sun.jersey.api.json.JSONConfiguration
Returns JSON array names property This property is valid for the JSONConfiguration.Notation.MAPPED notation only.
getAttributeAsElements() - Method in class com.sun.jersey.api.json.JSONConfiguration
Returns names of attributes, which will be handled as elements This property is valid for the JSONConfiguration.Notation.MAPPED notation only.
getCallbackName() - Method in class com.sun.jersey.api.json.JSONWithPadding
Get the callback function name.
getJSONConfiguration() - Method in interface com.sun.jersey.api.json.JSONConfigurated
Provides information on current JSON configuration options for this object.
getJSONConfiguration() - Method in class com.sun.jersey.api.json.JSONJAXBContext
Get the JSON configuration.
getJSONMarshaller(Marshaller) - Static method in class com.sun.jersey.api.json.JSONJAXBContext
Get a JSONMarshaller from a Marshaller.
getJsonSource() - Method in class com.sun.jersey.api.json.JSONWithPadding
Get the JSON source.
getJSONUnmarshaller(Unmarshaller) - Static method in class com.sun.jersey.api.json.JSONJAXBContext
Get a JSONUnmarshaller from a Unmarshaller.
getNonStrings() - Method in class com.sun.jersey.api.json.JSONConfiguration
Returns names of JSON objects, which will be serialized out as non-strings, i.e.
getNotation() - Method in class com.sun.jersey.api.json.JSONConfiguration
Returns JSON notation selected for this configuration
getNsSeparator() - Method in class com.sun.jersey.api.json.JSONConfiguration
Returns XML namespace separator, which is used when constructing JSON identifiers for XML elements/attributes in other than default namespace This property is valid for the JSONConfiguration.Notation.MAPPED notation only.
getXml2JsonNs() - Method in class com.sun.jersey.api.json.JSONConfiguration
Returns a map for XML to JSON namespace mapping This property is valid for the JSONConfiguration.Notation.MAPPED notation only.

H

humanReadableFormatting - Variable in class com.sun.jersey.api.json.JSONConfiguration.Builder
 
humanReadableFormatting(boolean) - Method in class com.sun.jersey.api.json.JSONConfiguration.NaturalBuilder
If set to true, generated JSON will contain new-line characters and indentation, so that the output is easy to read for people.

I

isHumanReadableFormatting() - Method in class com.sun.jersey.api.json.JSONConfiguration
Says if the output JSON will be formatted with new-line characters and indentation so that it is easy to read for people.
isRootUnwrapping() - Method in class com.sun.jersey.api.json.JSONConfiguration
Says if the root element will be stripped off This property is valid for the JSONConfiguration.Notation.MAPPED and JSONConfiguration.Notation.NATURAL notations.
isUsingPrefixesAtNaturalAttributes() - Method in class com.sun.jersey.api.json.JSONConfiguration
Says if the JSON names corresponding to XML attributes should use a '@' prefix.

J

JSON_ARRAYS - Static variable in class com.sun.jersey.api.json.JSONJAXBContext
Deprecated. 
JSON_ATTRS_AS_ELEMS - Static variable in class com.sun.jersey.api.json.JSONJAXBContext
Deprecated. 
JSON_ENABLED - Static variable in class com.sun.jersey.api.json.JSONJAXBContext
Deprecated. 
JSON_NON_STRINGS - Static variable in class com.sun.jersey.api.json.JSONJAXBContext
Deprecated. 
JSON_NOTATION - Static variable in class com.sun.jersey.api.json.JSONJAXBContext
Deprecated. 
JSON_ROOT_UNWRAPPING - Static variable in class com.sun.jersey.api.json.JSONJAXBContext
Deprecated. 
JSON_XML2JSON_NS - Static variable in class com.sun.jersey.api.json.JSONJAXBContext
Deprecated. 
JSONConfigurated - Interface in com.sun.jersey.api.json
An interface declaring a JSON configuration is available.
JSONConfiguration - Class in com.sun.jersey.api.json
An immutable configuration of JSON notationand options.
JSONConfiguration.Builder - Class in com.sun.jersey.api.json
Builder class for constructing JSONConfiguration options
JSONConfiguration.MappedBuilder - Class in com.sun.jersey.api.json
Builder class for constructing JSONConfiguration options for the JSONConfiguration.Notation.MAPPED convention.
JSONConfiguration.MappedJettisonBuilder - Class in com.sun.jersey.api.json
Builder class for constructing JSONConfiguration options for the JSONConfiguration.Notation.MAPPED_JETTISON convention.
JSONConfiguration.NaturalBuilder - Class in com.sun.jersey.api.json
Builder class for constructing JSONConfiguration options for the JSONConfiguration.Notation.NATURAL convention.
JSONConfiguration.Notation - Enum in com.sun.jersey.api.json
Enumeration of supported JSON notations.
JSONJAXBContext - Class in com.sun.jersey.api.json
An adaption of JAXBContext that supports marshalling and unmarshalling of JAXB beans using the JSON format.
JSONJAXBContext(Class...) - Constructor for class com.sun.jersey.api.json.JSONJAXBContext
Constructs a new instance with default JSONConfiguration.
JSONJAXBContext(JSONConfiguration, Class...) - Constructor for class com.sun.jersey.api.json.JSONJAXBContext
Constructs a new instance with given JSONConfiguration.
JSONJAXBContext(Class[], Map<String, Object>) - Constructor for class com.sun.jersey.api.json.JSONJAXBContext
Constructs a new instance with a custom set of properties.
JSONJAXBContext(JSONConfiguration, Class[], Map<String, Object>) - Constructor for class com.sun.jersey.api.json.JSONJAXBContext
Constructs a new instance with a custom set of properties.
JSONJAXBContext(String) - Constructor for class com.sun.jersey.api.json.JSONJAXBContext
Construct a new instance of using context class loader of the thread with default JSONConfiguration.
JSONJAXBContext(JSONConfiguration, String) - Constructor for class com.sun.jersey.api.json.JSONJAXBContext
Construct a new instance of using context class loader of the thread with given JSONConfiguration.
JSONJAXBContext(String, ClassLoader) - Constructor for class com.sun.jersey.api.json.JSONJAXBContext
Construct a new instance using a specified class loader with default JSONConfiguration.
JSONJAXBContext(String, ClassLoader, Map<String, Object>) - Constructor for class com.sun.jersey.api.json.JSONJAXBContext
Construct a new instance using a specified class loader and a custom set of properties.
JSONJAXBContext(JSONConfiguration, String, ClassLoader, Map<String, Object>) - Constructor for class com.sun.jersey.api.json.JSONJAXBContext
Construct a new instance using a specified class loader, set of properties and JSONConfiguration .
JSONJAXBContext.JSONNotation - Enum in com.sun.jersey.api.json
Deprecated. 
JSONMarshaller - Interface in com.sun.jersey.api.json
A JSON marshaller responsible for serializing Java content trees, defined by JAXB, to JSON data.
JSONUnmarshaller - Interface in com.sun.jersey.api.json
A JSON unmarshaller responsible for deserializing JSON data to a Java content tree, defined by JAXB.
JSONWithPadding - Class in com.sun.jersey.api.json
An entity supporting JSON with Padding (JSONP).
JSONWithPadding(Object) - Constructor for class com.sun.jersey.api.json.JSONWithPadding
Pad JSON using the default funcation name "callback".
JSONWithPadding(Object, String) - Constructor for class com.sun.jersey.api.json.JSONWithPadding
Pad JSON using a declared callback funcation name.
jsonXml2JsonNs - Variable in class com.sun.jersey.api.json.JSONConfiguration.Builder
 

M

mapped() - Static method in class com.sun.jersey.api.json.JSONConfiguration
A static method for obtaining a builder of JSONConfiguration instance, which will use JSONConfiguration.Notation.MAPPED JSON notation.
mappedJettison() - Static method in class com.sun.jersey.api.json.JSONConfiguration
A static method for obtaining a builder of JSONConfiguration instance, which will use JSONConfiguration.Notation.MAPPED_JETTISON JSON notation.
marshallToJSON(Object, OutputStream) - Method in interface com.sun.jersey.api.json.JSONMarshaller
Marshall the content tree rooted at jaxbElement into an output stream.
marshallToJSON(Object, Writer) - Method in interface com.sun.jersey.api.json.JSONMarshaller
Marshall the content tree rooted at jaxbElement into an output stream.

N

NAMESPACE - Static variable in class com.sun.jersey.api.json.JSONJAXBContext
Deprecated. 
namespaceSeparator - Variable in class com.sun.jersey.api.json.JSONConfiguration.Builder
 
natural() - Static method in class com.sun.jersey.api.json.JSONConfiguration
A static method for obtaining a builder of JSONConfiguration instance, which will use JSONConfiguration.Notation.NATURAL JSON notation.
nonStrings - Variable in class com.sun.jersey.api.json.JSONConfiguration.Builder
 
nonStrings(String...) - Method in class com.sun.jersey.api.json.JSONConfiguration.MappedBuilder
Adds name(s) JSON non-string values property.
nsSeparator(Character) - Method in class com.sun.jersey.api.json.JSONConfiguration.MappedBuilder
Setter for XML namespace separator.

R

rootUnwrapping - Variable in class com.sun.jersey.api.json.JSONConfiguration.Builder
 
rootUnwrapping(boolean) - Method in class com.sun.jersey.api.json.JSONConfiguration.MappedBuilder
Setter for XML root element unwrapping.
rootUnwrapping(boolean) - Method in class com.sun.jersey.api.json.JSONConfiguration.NaturalBuilder
Setter for XML root element unwrapping.

S

setProperty(String, Object) - Method in interface com.sun.jersey.api.json.JSONMarshaller
Set the particular property in the underlying implementation of JSONMarshaller.

T

toString() - Method in class com.sun.jersey.api.json.JSONConfiguration
 

U

unmarshalFromJSON(InputStream, Class<T>) - Method in interface com.sun.jersey.api.json.JSONUnmarshaller
Unmarshal JSON data from the specified InputStream and return the resulting Java content tree.
unmarshalFromJSON(Reader, Class<T>) - Method in interface com.sun.jersey.api.json.JSONUnmarshaller
Unmarshal JSON data from the specified Reader and return the resulting Java content tree.
unmarshalJAXBElementFromJSON(InputStream, Class<T>) - Method in interface com.sun.jersey.api.json.JSONUnmarshaller
Unmarshal JSON data from the InputStream by declaredType and return the resulting content tree.
unmarshalJAXBElementFromJSON(Reader, Class<T>) - Method in interface com.sun.jersey.api.json.JSONUnmarshaller
Unmarshal JSON data from the Reader by declaredType and return the resulting content tree.
usePrefixAtNaturalAttributes - Variable in class com.sun.jersey.api.json.JSONConfiguration.Builder
 
usePrefixesAtNaturalAttributes() - Method in class com.sun.jersey.api.json.JSONConfiguration.NaturalBuilder
JSON names corresponding to XML attributes will be written using a '@' prefix This property is valid for the JSONConfiguration.Notation.NATURAL notation only.

V

valueOf(String) - Static method in enum com.sun.jersey.api.json.JSONConfiguration.Notation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.jersey.api.json.JSONJAXBContext.JSONNotation
Deprecated. Returns the enum constant of this type with the specified name.
values() - Static method in enum com.sun.jersey.api.json.JSONConfiguration.Notation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.jersey.api.json.JSONJAXBContext.JSONNotation
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared.

X

xml2JsonNs(Map<String, String>) - Method in class com.sun.jersey.api.json.JSONConfiguration.MappedBuilder
Setter for XML to JSON namespace mapping.
xml2JsonNs(Map<String, String>) - Method in class com.sun.jersey.api.json.JSONConfiguration.MappedJettisonBuilder
Setter for XML to JSON namespace mapping.

A B C D F G H I J M N R S T U V X

Copyright © 2010 Sun Microsystems, Inc. All Rights Reserved.