Interface GenericRecordXmlWriter.GenericRecordHandler

  • Enclosing class:
    GenericRecordXmlWriter
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    protected static interface GenericRecordXmlWriter.GenericRecordHandler
    • Method Detail

      • print

        boolean print​(GenericRecordXmlWriter record,
                      String name,
                      Object object)
        Handler method
        Parameters:
        record - the parent record, applied via instance method reference
        name - the name of the property
        object - the value of the property
        Returns:
        true, if the element was handled and output produced, The provided methods can be overridden and an implementation can return false, if the element hasn't been written to the stream