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.
|
protected String |
toString(InputLocation location)
Method toString.
|
void |
write(OutputStream stream,
Model model)
Method write.
|
void |
write(Writer writer,
Model model)
Method write.
|
protected void |
writeXpp3DomToSerializer(Xpp3Dom dom,
XmlSerializer serializer)
Method writeXpp3DomToSerializer.
|
protected InputLocation.StringFormatter stringFormatter
public void setFileComment(String fileComment)
fileComment
- public void setStringFormatter(InputLocation.StringFormatter stringFormatter)
stringFormatter
- protected String toString(InputLocation location)
location
- public void write(Writer writer, Model model) throws IOException
writer
- model
- IOException
public void write(OutputStream stream, Model model) throws IOException
stream
- model
- IOException
protected void writeXpp3DomToSerializer(Xpp3Dom dom, XmlSerializer serializer) throws IOException
dom
- serializer
- IOException
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.