Package org.pkl.core

Interface ValueRenderer


public interface ValueRenderer
Renders Pkl values in some output format.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Renders the given value as a complete document.
    void
    Renders the given value.
  • Method Details

    • renderDocument

      void renderDocument(Object value)
      Renders the given value as a complete document.

      Some renderers impose restrictions on which types of values can be rendered as document.

      A typical implementation of this method renders a document header/footer and otherwise delegates to renderValue(java.lang.Object).

    • renderValue

      void renderValue(Object value)
      Renders the given value.