public class DocumentXpp3Writer extends Object
Constructor and Description |
---|
DocumentXpp3Writer() |
Modifier and Type | Method and Description |
---|---|
void |
setFileComment(String fileComment)
Method setFileComment.
|
void |
write(OutputStream stream,
DocumentModel documentModel)
Method write.
|
void |
write(Writer writer,
DocumentModel documentModel)
Method write.
|
public void setFileComment(String fileComment)
fileComment
- a fileComment object.public void write(Writer writer, DocumentModel documentModel) throws IOException
writer
- a writer object.documentModel
- a documentModel object.IOException
- java.io.IOException if any.public void write(OutputStream stream, DocumentModel documentModel) throws IOException
stream
- a stream object.documentModel
- a documentModel object.IOException
- java.io.IOException if any.Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.