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 protected
OutputStreamOutput(OutputStream writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flush()
org.eclipse.persistence.internal.oxm.XMLMarshaller
getMarshaller()
OutputStream
getOutputStream()
Writer
getWriter()
void
setMarshaller(org.eclipse.persistence.internal.oxm.XMLMarshaller marshaller)
void
write(char character)
void
write(String text)
void
writeAttributePrefix()
void
writeCR()
void
writeLocalName(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment)
void
writeNamespaceSeparator()
void
writeResultFromCharEscapeHandler(String value, boolean isAttribute)
-
-
-
Constructor Detail
-
OutputStreamOutput
protected OutputStreamOutput(OutputStream writer)
-
-
Method Detail
-
flush
public void flush() throws IOException
- Specified by:
flush
in interfaceJSONWriterRecord.Output
- Throws:
IOException
-
getMarshaller
public org.eclipse.persistence.internal.oxm.XMLMarshaller getMarshaller()
- Specified by:
getMarshaller
in interfaceJSONWriterRecord.Output
-
getOutputStream
public OutputStream getOutputStream()
- Specified by:
getOutputStream
in interfaceJSONWriterRecord.Output
-
getWriter
public Writer getWriter()
- Specified by:
getWriter
in interfaceJSONWriterRecord.Output
-
setMarshaller
public void setMarshaller(org.eclipse.persistence.internal.oxm.XMLMarshaller marshaller)
- Specified by:
setMarshaller
in interfaceJSONWriterRecord.Output
-
write
public void write(char character) throws IOException
- Specified by:
write
in interfaceJSONWriterRecord.Output
- Throws:
IOException
-
write
public void write(String text) throws IOException
- Specified by:
write
in interfaceJSONWriterRecord.Output
- Throws:
IOException
-
writeAttributePrefix
public void writeAttributePrefix() throws IOException
- Specified by:
writeAttributePrefix
in interfaceJSONWriterRecord.Output
- Throws:
IOException
-
writeCR
public void writeCR() throws IOException
- Specified by:
writeCR
in interfaceJSONWriterRecord.Output
- Throws:
IOException
-
writeLocalName
public void writeLocalName(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment) throws IOException
- Specified by:
writeLocalName
in interfaceJSONWriterRecord.Output
- Throws:
IOException
-
writeNamespaceSeparator
public void writeNamespaceSeparator() throws IOException
- Specified by:
writeNamespaceSeparator
in interfaceJSONWriterRecord.Output
- Throws:
IOException
-
writeResultFromCharEscapeHandler
public void writeResultFromCharEscapeHandler(String value, boolean isAttribute)
- Specified by:
writeResultFromCharEscapeHandler
in interfaceJSONWriterRecord.Output
-
-