org.apache.openjpa.lib.xml
Class XMLWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
org.apache.openjpa.lib.xml.XMLWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class XMLWriter
- extends FilterWriter
The XMLWriter is a writer type for pretty-printing XML.
It assumes that the streamed XML will be given without any whitespace,
other than the space within text blocks.
- Author:
- Abe White
Constructor Summary |
XMLWriter(Writer out)
Construct an XMLWriter that will write to the given stream. |
Method Summary |
void |
write(char[] cbuf,
int off,
int len)
|
void |
write(int c)
|
void |
write(String str,
int off,
int len)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLWriter
public XMLWriter(Writer out)
- Construct an XMLWriter that will write to the given stream.
write
public void write(char[] cbuf,
int off,
int len)
throws IOException
- Overrides:
write
in class FilterWriter
- Throws:
IOException
write
public void write(String str,
int off,
int len)
throws IOException
- Overrides:
write
in class FilterWriter
- Throws:
IOException
write
public void write(int c)
throws IOException
- Overrides:
write
in class FilterWriter
- Throws:
IOException
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.This documentation is deprecated and will be removed in the next release of WebLogic Server.
Oracle Fusion Middleware Apache OpenJPA 1.1.0 API Reference
12c Release 1 (12.1.1)
Part Number E24398_01