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 java.lang.Object implements JSONWriterRecord.Output
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OutputStreamOutput(java.io.OutputStream writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flush()
XMLMarshaller
getMarshaller()
java.io.OutputStream
getOutputStream()
java.io.Writer
getWriter()
void
setMarshaller(XMLMarshaller marshaller)
void
write(char character)
void
write(java.lang.String text)
void
writeAttributePrefix()
void
writeCR()
void
writeLocalName(XPathFragment xPathFragment)
void
writeNamespaceSeparator()
void
writeResultFromCharEscapeHandler(java.lang.String value, boolean isAttribute)
-
-
-
Method Detail
-
flush
public void flush() throws java.io.IOException
- Specified by:
flush
in interfaceJSONWriterRecord.Output
- Throws:
java.io.IOException
-
getMarshaller
public XMLMarshaller getMarshaller()
- Specified by:
getMarshaller
in interfaceJSONWriterRecord.Output
-
getOutputStream
public java.io.OutputStream getOutputStream()
- Specified by:
getOutputStream
in interfaceJSONWriterRecord.Output
-
getWriter
public java.io.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 java.io.IOException
- Specified by:
write
in interfaceJSONWriterRecord.Output
- Throws:
java.io.IOException
-
write
public void write(java.lang.String text) throws java.io.IOException
- Specified by:
write
in interfaceJSONWriterRecord.Output
- Throws:
java.io.IOException
-
writeAttributePrefix
public void writeAttributePrefix() throws java.io.IOException
- Specified by:
writeAttributePrefix
in interfaceJSONWriterRecord.Output
- Throws:
java.io.IOException
-
writeCR
public void writeCR() throws java.io.IOException
- Specified by:
writeCR
in interfaceJSONWriterRecord.Output
- Throws:
java.io.IOException
-
writeLocalName
public void writeLocalName(XPathFragment xPathFragment) throws java.io.IOException
- Specified by:
writeLocalName
in interfaceJSONWriterRecord.Output
- Throws:
java.io.IOException
-
writeNamespaceSeparator
public void writeNamespaceSeparator() throws java.io.IOException
- Specified by:
writeNamespaceSeparator
in interfaceJSONWriterRecord.Output
- Throws:
java.io.IOException
-
writeResultFromCharEscapeHandler
public void writeResultFromCharEscapeHandler(java.lang.String value, boolean isAttribute)
- Specified by:
writeResultFromCharEscapeHandler
in interfaceJSONWriterRecord.Output
-
-