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.Output
java.io.IOException
public org.eclipse.persistence.internal.oxm.XMLMarshaller getMarshaller()
getMarshaller
in interface JSONWriterRecord.Output
public java.io.OutputStream getOutputStream()
getOutputStream
in interface JSONWriterRecord.Output
public java.io.Writer getWriter()
getWriter
in interface JSONWriterRecord.Output
public void setMarshaller(org.eclipse.persistence.internal.oxm.XMLMarshaller marshaller)
setMarshaller
in interface JSONWriterRecord.Output
public void write(char character) throws java.io.IOException
write
in interface JSONWriterRecord.Output
java.io.IOException
public void write(java.lang.String text) throws java.io.IOException
write
in interface JSONWriterRecord.Output
java.io.IOException
public void writeAttributePrefix() throws java.io.IOException
writeAttributePrefix
in interface JSONWriterRecord.Output
java.io.IOException
public void writeCR() throws java.io.IOException
writeCR
in interface JSONWriterRecord.Output
java.io.IOException
public void writeLocalName(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment) throws java.io.IOException
writeLocalName
in interface JSONWriterRecord.Output
java.io.IOException
public void writeNamespaceSeparator() throws java.io.IOException
writeNamespaceSeparator
in interface JSONWriterRecord.Output
java.io.IOException
public void writeResultFromCharEscapeHandler(java.lang.String value, boolean isAttribute)
writeResultFromCharEscapeHandler
in interface JSONWriterRecord.Output