Class ModelWriter
- java.lang.Object
-
- org.apache.sling.provisioning.model.io.ModelWriter
-
public class ModelWriter extends java.lang.Object
Simple writer for the a model
-
-
Constructor Summary
Constructors Constructor Description ModelWriter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
write(java.io.Writer writer, Model model)
Writes the model to the writer.
-
-
-
Method Detail
-
write
public static void write(java.io.Writer writer, Model model) throws java.io.IOException
Writes the model to the writer. The writer is not closed.- Parameters:
writer
- Writermodel
- Model- Throws:
java.io.IOException
-
-