List of usage examples for com.google.gson ExclusionStrategy interface-usage
From source file br.com.caelum.vraptor.serialization.gson.Exclusions.java
/**
*
* @author Renan Reis
* @author Guilherme Mangabeira
* @author Renato R. R. de Oliveira
*/
From source file cn.teamlab.wg.framework.struts2.json.JsonSerializerExclusionStrategy.java
public class JsonSerializerExclusionStrategy implements ExclusionStrategy { @SuppressWarnings("rawtypes") private final Set toExcludeClasses; private final Set<String> fieldsToExclude;
From source file co.aurasphere.botmill.fb.internal.util.json.SkipDeserializationAnnotationExclusionStrategy.java
/**
* ExclusionStrategy for skipping the Gson deserialization of fields annotated
* with {@link SkipDeserialization}.
*
* @author Donato Rimenti
*
From source file co.aurasphere.botmill.kik.util.json.SkipDeserializationAnnotationExclusionStrategy.java
/** * The Class SkipDeserializationAnnotationExclusionStrategy. * * @author Alvin P. Reyes */ final class SkipDeserializationAnnotationExclusionStrategy implements ExclusionStrategy {
From source file co.aurasphere.botmill.skype.util.json.SkipDeserializationAnnotationExclusionStrategy.java
/** * The Class SkipDeserializationAnnotationExclusionStrategy. * * @author Alvin P. Reyes */ final class SkipDeserializationAnnotationExclusionStrategy implements ExclusionStrategy {
From source file co.aurasphere.botmill.util.SkipDeserializationAnnotationExclusionStrategy.java
public class SkipDeserializationAnnotationExclusionStrategy implements ExclusionStrategy { /* * (non-Javadoc) * * @see com.google.gson.ExclusionStrategy#shouldSkipField(com.google.gson.
From source file com.auxeanne.data.ctrl.RecordExclusionStrategy.java
/** * Making GSon aware of the ModelExclusion annotation. * * @author Jean-Michel Tanguy */ public class RecordExclusionStrategy implements ExclusionStrategy {
From source file com.cloud.agent.transport.LoggingExclusionStrategy.java
public class LoggingExclusionStrategy implements ExclusionStrategy { Logger _logger = null; @Override public boolean shouldSkipClass(Class<?> clazz) { if (clazz.isArray() || !Command.class.isAssignableFrom(clazz)) {
From source file com.cloud.api.response.EmptyFieldExclusionStrategy.java
public class EmptyFieldExclusionStrategy implements ExclusionStrategy { @Override public boolean shouldSkipField(FieldAttributes fieldAttributes) { if (fieldAttributes.getAnnotation(Param.class) != null) { return true;
From source file com.division.jsonrpc.api.SuperclassExclusionStrategy.java
/** * Allows for classes to override their superclass' * fields and be properly output by the GSON engine. */ public class SuperclassExclusionStrategy implements ExclusionStrategy { public boolean shouldSkipClass(Class<?> arg0) {