Class JSONWriterRecord.OutputStreamOutput
- java.lang.Object
-
- org.eclipse.persistence.oxm.record.JSONWriterRecord.OutputStreamOutput
-
- All Implemented Interfaces:
JSONWriterRecord.Output
- Enclosing class:
- JSONWriterRecord
protected static class JSONWriterRecord.OutputStreamOutput extends Object implements JSONWriterRecord.Output
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OutputStreamOutput(OutputStream writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flush()
XMLMarshaller
getMarshaller()
OutputStream
getOutputStream()
Writer
getWriter()
void
setMarshaller(XMLMarshaller marshaller)
void
write(char character)
void
write(String text)
void
writeAttributePrefix()
void
writeCR()
void
writeLocalName(XPathFragment xPathFragment)
void
writeNamespaceSeparator()
void
writeResultFromCharEscapeHandler(String value, boolean isAttribute)
-
-
-
Constructor Detail
-
OutputStreamOutput
protected OutputStreamOutput(OutputStream writer)
-
-
Method Detail
-
flush
public void flush() throws IOException
- Specified by:
flush
in interfaceJSONWriterRecord.Output
- Throws:
IOException
-
getMarshaller
public XMLMarshaller getMarshaller()
- Specified by:
getMarshaller
in interfaceJSONWriterRecord.Output
-
getOutputStream
public OutputStream getOutputStream()
- Specified by:
getOutputStream
in interfaceJSONWriterRecord.Output
-
getWriter
public Writer getWriter()
- Specified by:
getWriter
in interfaceJSONWriterRecord.Output
-
setMarshaller
public void setMarshaller(XMLMarshaller marshaller)
- Specified by:
setMarshaller
in interfaceJSONWriterRecord.Output
-
write
public void write(char character) throws IOException
- Specified by:
write
in interfaceJSONWriterRecord.Output
- Throws:
IOException
-
write
public void write(String text) throws IOException
- Specified by:
write
in interfaceJSONWriterRecord.Output
- Throws:
IOException
-
writeAttributePrefix
public void writeAttributePrefix() throws IOException
- Specified by:
writeAttributePrefix
in interfaceJSONWriterRecord.Output
- Throws:
IOException
-
writeCR
public void writeCR() throws IOException
- Specified by:
writeCR
in interfaceJSONWriterRecord.Output
- Throws:
IOException
-
writeLocalName
public void writeLocalName(XPathFragment xPathFragment) throws IOException
- Specified by:
writeLocalName
in interfaceJSONWriterRecord.Output
- Throws:
IOException
-
writeNamespaceSeparator
public void writeNamespaceSeparator() throws IOException
- Specified by:
writeNamespaceSeparator
in interfaceJSONWriterRecord.Output
- Throws:
IOException
-
writeResultFromCharEscapeHandler
public void writeResultFromCharEscapeHandler(String value, boolean isAttribute)
- Specified by:
writeResultFromCharEscapeHandler
in interfaceJSONWriterRecord.Output
-
-