-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
private boolean |
closed |
private javax.json.stream.JsonGenerator |
generator |
-
Constructor Summary
Constructors
Constructor and Description |
JsonWriterImpl(javax.json.stream.JsonGenerator generator) |
-
Method Summary
Methods
Modifier and Type |
Method and Description |
private void |
checkClosed() |
void |
close() |
void |
write(javax.json.JsonStructure value) |
void |
writeArray(javax.json.JsonArray array) |
void |
writeObject(javax.json.JsonObject object) |
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Field Detail
-
closed
private boolean closed
-
Method Detail
-
close
public void close()
- Specified by:
close
in interface Closeable
- Specified by:
close
in interface AutoCloseable
- Specified by:
close
in interface javax.json.JsonWriter
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.