Interface PropertyConverter

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      java.lang.Object convert​(java.lang.Object obj, java.lang.Class<?> propertyFieldType, java.lang.String propertyName, java.lang.String propertyValue, boolean check_scope, StackType ip_version)  
      default java.lang.Object convert​(Property annotation, java.lang.Object obj, java.lang.Class<?> propertyFieldType, java.lang.String propertyName, java.lang.String propertyValue, boolean check_scope, StackType ip_version)  
      java.lang.String toString​(java.lang.Object value)
      Converts the value to a string.
    • Method Detail

      • convert

        java.lang.Object convert​(java.lang.Object obj,
                                 java.lang.Class<?> propertyFieldType,
                                 java.lang.String propertyName,
                                 java.lang.String propertyValue,
                                 boolean check_scope,
                                 StackType ip_version)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • convert

        default java.lang.Object convert​(Property annotation,
                                         java.lang.Object obj,
                                         java.lang.Class<?> propertyFieldType,
                                         java.lang.String propertyName,
                                         java.lang.String propertyValue,
                                         boolean check_scope,
                                         StackType ip_version)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • toString

        java.lang.String toString​(java.lang.Object value)
        Converts the value to a string. The default is to simply invoke Object.toString(), however, some objects need to be printed specially, e.g. a long array etc.
        Parameters:
        value -
        Returns: