Class ExplicitlySetFilter

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.ser.BeanPropertyFilter, com.fasterxml.jackson.databind.ser.PropertyFilter

    public final class ExplicitlySetFilter
    extends com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter
    Jackson implementation of the explicitly set filter. The filter will include in the serialization all properties that were explicitly set by user and will exclude all others based on methods provided by the ExplicitlySetBmcModel.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter

        com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter.FilterExceptFilter, com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter.SerializeExceptFilter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean include​(com.fasterxml.jackson.databind.ser.BeanPropertyWriter writer)  
      protected boolean include​(com.fasterxml.jackson.databind.ser.PropertyWriter writer)  
      void serializeAsField​(java.lang.Object pojo, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.ser.PropertyWriter writer)  
      • Methods inherited from class com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter

        depositSchemaProperty, depositSchemaProperty, depositSchemaProperty, depositSchemaProperty, filterOutAllExcept, filterOutAllExcept, from, includeElement, serializeAll, serializeAll, serializeAllExcept, serializeAllExcept, serializeAsElement, serializeAsField
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • serializeAsField

        public void serializeAsField​(java.lang.Object pojo,
                                     com.fasterxml.jackson.core.JsonGenerator jgen,
                                     com.fasterxml.jackson.databind.SerializerProvider provider,
                                     com.fasterxml.jackson.databind.ser.PropertyWriter writer)
                              throws java.lang.Exception
        Specified by:
        serializeAsField in interface com.fasterxml.jackson.databind.ser.PropertyFilter
        Overrides:
        serializeAsField in class com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter
        Throws:
        java.lang.Exception
      • include

        protected boolean include​(com.fasterxml.jackson.databind.ser.BeanPropertyWriter writer)
        Overrides:
        include in class com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter
      • include

        protected boolean include​(com.fasterxml.jackson.databind.ser.PropertyWriter writer)
        Overrides:
        include in class com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter