EclipseLink 2.5.3, build 'v20180808-e38c757' API Reference

org.eclipse.persistence.oxm.record
Class JSONWriterRecord.OutputStreamOutput

java.lang.Object
  extended by 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
protected JSONWriterRecord.OutputStreamOutput(java.io.OutputStream writer)
           
 
Method Summary
 void flush()
           
 org.eclipse.persistence.internal.oxm.XMLMarshaller getMarshaller()
           
 java.io.OutputStream getOutputStream()
           
 java.io.Writer getWriter()
           
 void setMarshaller(org.eclipse.persistence.internal.oxm.XMLMarshaller marshaller)
           
 void write(char character)
           
 void write(java.lang.String text)
           
 void writeAttributePrefix()
           
 void writeCR()
           
 void writeLocalName(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment)
           
 void writeNamespaceSeparator()
           
 void writeResultFromCharEscapeHandler(java.lang.String value, boolean isAttribute)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONWriterRecord.OutputStreamOutput

protected JSONWriterRecord.OutputStreamOutput(java.io.OutputStream writer)
Method Detail

flush

public void flush()
           throws java.io.IOException
Specified by:
flush in interface JSONWriterRecord.Output
Throws:
java.io.IOException

getMarshaller

public org.eclipse.persistence.internal.oxm.XMLMarshaller getMarshaller()
Specified by:
getMarshaller in interface JSONWriterRecord.Output

getOutputStream

public java.io.OutputStream getOutputStream()
Specified by:
getOutputStream in interface JSONWriterRecord.Output

getWriter

public java.io.Writer getWriter()
Specified by:
getWriter in interface JSONWriterRecord.Output

setMarshaller

public void setMarshaller(org.eclipse.persistence.internal.oxm.XMLMarshaller marshaller)
Specified by:
setMarshaller in interface JSONWriterRecord.Output

write

public void write(char character)
           throws java.io.IOException
Specified by:
write in interface JSONWriterRecord.Output
Throws:
java.io.IOException

write

public void write(java.lang.String text)
           throws java.io.IOException
Specified by:
write in interface JSONWriterRecord.Output
Throws:
java.io.IOException

writeAttributePrefix

public void writeAttributePrefix()
                          throws java.io.IOException
Specified by:
writeAttributePrefix in interface JSONWriterRecord.Output
Throws:
java.io.IOException

writeCR

public void writeCR()
             throws java.io.IOException
Specified by:
writeCR in interface JSONWriterRecord.Output
Throws:
java.io.IOException

writeLocalName

public void writeLocalName(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment)
                    throws java.io.IOException
Specified by:
writeLocalName in interface JSONWriterRecord.Output
Throws:
java.io.IOException

writeNamespaceSeparator

public void writeNamespaceSeparator()
                             throws java.io.IOException
Specified by:
writeNamespaceSeparator in interface JSONWriterRecord.Output
Throws:
java.io.IOException

writeResultFromCharEscapeHandler

public void writeResultFromCharEscapeHandler(java.lang.String value,
                                             boolean isAttribute)
Specified by:
writeResultFromCharEscapeHandler in interface JSONWriterRecord.Output

EclipseLink 2.5.3, build 'v20180808-e38c757' API Reference