protected static class JSONWriterRecord.OutputStreamOutput extends java.lang.Object implements JSONWriterRecord.Output
| Modifier | Constructor and Description |
|---|---|
protected |
OutputStreamOutput(java.io.OutputStream writer) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public void flush()
throws java.io.IOException
flush in interface JSONWriterRecord.Outputjava.io.IOExceptionpublic org.eclipse.persistence.internal.oxm.XMLMarshaller getMarshaller()
getMarshaller in interface JSONWriterRecord.Outputpublic java.io.OutputStream getOutputStream()
getOutputStream in interface JSONWriterRecord.Outputpublic java.io.Writer getWriter()
getWriter in interface JSONWriterRecord.Outputpublic void setMarshaller(org.eclipse.persistence.internal.oxm.XMLMarshaller marshaller)
setMarshaller in interface JSONWriterRecord.Outputpublic void write(char character)
throws java.io.IOException
write in interface JSONWriterRecord.Outputjava.io.IOExceptionpublic void write(java.lang.String text)
throws java.io.IOException
write in interface JSONWriterRecord.Outputjava.io.IOExceptionpublic void writeAttributePrefix()
throws java.io.IOException
writeAttributePrefix in interface JSONWriterRecord.Outputjava.io.IOExceptionpublic void writeCR()
throws java.io.IOException
writeCR in interface JSONWriterRecord.Outputjava.io.IOExceptionpublic void writeLocalName(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment)
throws java.io.IOException
writeLocalName in interface JSONWriterRecord.Outputjava.io.IOExceptionpublic void writeNamespaceSeparator()
throws java.io.IOException
writeNamespaceSeparator in interface JSONWriterRecord.Outputjava.io.IOExceptionpublic void writeResultFromCharEscapeHandler(java.lang.String value,
boolean isAttribute)
writeResultFromCharEscapeHandler in interface JSONWriterRecord.Output