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