Module eclipselink
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 protectedOutputStreamOutput(OutputStream writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush()org.eclipse.persistence.internal.oxm.XMLMarshallergetMarshaller()OutputStreamgetOutputStream()WritergetWriter()voidsetMarshaller(org.eclipse.persistence.internal.oxm.XMLMarshaller marshaller)voidwrite(char character)voidwrite(String text)voidwriteAttributePrefix()voidwriteCR()voidwriteLocalName(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment)voidwriteNamespaceSeparator()voidwriteResultFromCharEscapeHandler(String value, boolean isAttribute)
-
-
-
Constructor Detail
-
OutputStreamOutput
protected OutputStreamOutput(OutputStream writer)
-
-
Method Detail
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceJSONWriterRecord.Output- Throws:
IOException
-
getMarshaller
public org.eclipse.persistence.internal.oxm.XMLMarshaller getMarshaller()
- Specified by:
getMarshallerin interfaceJSONWriterRecord.Output
-
getOutputStream
public OutputStream getOutputStream()
- Specified by:
getOutputStreamin interfaceJSONWriterRecord.Output
-
getWriter
public Writer getWriter()
- Specified by:
getWriterin interfaceJSONWriterRecord.Output
-
setMarshaller
public void setMarshaller(org.eclipse.persistence.internal.oxm.XMLMarshaller marshaller)
- Specified by:
setMarshallerin interfaceJSONWriterRecord.Output
-
write
public void write(char character) throws IOException- Specified by:
writein interfaceJSONWriterRecord.Output- Throws:
IOException
-
write
public void write(String text) throws IOException
- Specified by:
writein interfaceJSONWriterRecord.Output- Throws:
IOException
-
writeAttributePrefix
public void writeAttributePrefix() throws IOException- Specified by:
writeAttributePrefixin interfaceJSONWriterRecord.Output- Throws:
IOException
-
writeCR
public void writeCR() throws IOException- Specified by:
writeCRin interfaceJSONWriterRecord.Output- Throws:
IOException
-
writeLocalName
public void writeLocalName(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment) throws IOException- Specified by:
writeLocalNamein interfaceJSONWriterRecord.Output- Throws:
IOException
-
writeNamespaceSeparator
public void writeNamespaceSeparator() throws IOException- Specified by:
writeNamespaceSeparatorin interfaceJSONWriterRecord.Output- Throws:
IOException
-
writeResultFromCharEscapeHandler
public void writeResultFromCharEscapeHandler(String value, boolean isAttribute)
- Specified by:
writeResultFromCharEscapeHandlerin interfaceJSONWriterRecord.Output
-
-