@Generated 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 |
writeDomToSerializer(org.apache.maven.api.xml.Dom dom,
org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writeDomToSerializer.
|
protected void |
writeLocationTracking(InputLocationTracker locationTracker,
Object key,
org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writeLocationTracking.
|
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 objectmodel
- a Model objectIOException
- java.io.IOException if anypublic void write(OutputStream stream, Model model) throws IOException
stream
- a stream objectmodel
- a Model objectIOException
- java.io.IOException if anyprotected void writeDomToSerializer(org.apache.maven.api.xml.Dom dom, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
dom
- a dom object.serializer
- a serializer object.IOException
- java.io.IOException if any.protected void writeLocationTracking(InputLocationTracker locationTracker, Object key, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
locationTracker
- serializer
- key
- IOException
protected String toString(InputLocation location)
location
- Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.