Enum Class RuntimeView.Factories

java.lang.Object
java.lang.Enum<RuntimeView.Factories>
io.protostuff.runtime.RuntimeView.Factories
All Implemented Interfaces:
RuntimeView.Factory, Serializable, Comparable<RuntimeView.Factories>, Constable
Enclosing class:
RuntimeView

public static enum RuntimeView.Factories extends Enum<RuntimeView.Factories> implements RuntimeView.Factory
Built-in view schema factories.

 All factory args are required except:
 
 Predicate.Factory pf
 String[] args
 

For application/behavior specific filters, create your own view factory or predicate factory, and then design an ahead-of-time filter (which is usually done at application startup).

  • Enum Constant Details

  • Constructor Details

    • Factories

      private Factories()
  • Method Details

    • values

      public static RuntimeView.Factories[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RuntimeView.Factories valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null