Class ModelWriter

java.lang.Object
org.apache.sling.provisioning.model.io.ModelWriter

public class ModelWriter extends Object
Simple writer for the a model
  • Constructor Details

    • ModelWriter

      public ModelWriter()
  • Method Details

    • write

      public static void write(Writer writer, Model model) throws IOException
      Writes the model to the writer. The writer is not closed.
      Parameters:
      writer - Writer
      model - Model
      Throws:
      IOException