public class MavenXpp3WriterEx extends Object
| Modifier and Type | Field and Description |
|---|---|
protected InputLocation.StringFormatter |
stringFormatter
Field stringFormatter.
|
| Constructor and Description |
|---|
MavenXpp3WriterEx() |
| Modifier and Type | Method and Description |
|---|---|
void |
setFileComment(String fileComment)
Method setFileComment.
|
void |
setStringFormatter(InputLocation.StringFormatter stringFormatter)
Method setStringFormatter.
|
void |
write(OutputStream stream,
Model model)
Method write.
|
void |
write(Writer writer,
Model model)
Method write.
|
protected InputLocation.StringFormatter stringFormatter
public void setFileComment(String fileComment)
fileComment - a fileComment object.public void setStringFormatter(InputLocation.StringFormatter stringFormatter)
stringFormatter - public void write(Writer writer, Model model) throws IOException
writer - a writer object.model - a model object.IOException - java.io.IOException if any.public void write(OutputStream stream, Model model) throws IOException
stream - a stream object.model - a model object.IOException - java.io.IOException if any.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.