Package org.apache.johnzon.mapper
Class DynamicMappingGenerator.DelegatingGenerator
- java.lang.Object
-
- org.apache.johnzon.mapper.DynamicMappingGenerator.DelegatingGenerator
-
- All Implemented Interfaces:
jakarta.json.stream.JsonGenerator
,Closeable
,Flushable
,AutoCloseable
- Direct Known Subclasses:
DynamicMappingGenerator.SkipLastWriteEndGenerator
- Enclosing class:
- DynamicMappingGenerator
private abstract static class DynamicMappingGenerator.DelegatingGenerator extends Object implements jakarta.json.stream.JsonGenerator
-
-
Field Summary
Fields Modifier and Type Field Description protected jakarta.json.stream.JsonGenerator
delegate
-
Constructor Summary
Constructors Modifier Constructor Description protected
DelegatingGenerator(jakarta.json.stream.JsonGenerator generator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
jakarta.json.stream.JsonGenerator
write(boolean value)
jakarta.json.stream.JsonGenerator
write(double value)
jakarta.json.stream.JsonGenerator
write(int value)
jakarta.json.stream.JsonGenerator
write(long value)
jakarta.json.stream.JsonGenerator
write(jakarta.json.JsonValue value)
jakarta.json.stream.JsonGenerator
write(String value)
jakarta.json.stream.JsonGenerator
write(String name, boolean value)
jakarta.json.stream.JsonGenerator
write(String name, double value)
jakarta.json.stream.JsonGenerator
write(String name, int value)
jakarta.json.stream.JsonGenerator
write(String name, long value)
jakarta.json.stream.JsonGenerator
write(String name, jakarta.json.JsonValue value)
jakarta.json.stream.JsonGenerator
write(String name, String value)
jakarta.json.stream.JsonGenerator
write(String name, BigDecimal value)
jakarta.json.stream.JsonGenerator
write(String name, BigInteger value)
jakarta.json.stream.JsonGenerator
write(BigDecimal value)
jakarta.json.stream.JsonGenerator
write(BigInteger value)
jakarta.json.stream.JsonGenerator
writeKey(String name)
jakarta.json.stream.JsonGenerator
writeNull()
jakarta.json.stream.JsonGenerator
writeNull(String name)
-
-
-
Method Detail
-
writeKey
public jakarta.json.stream.JsonGenerator writeKey(String name)
- Specified by:
writeKey
in interfacejakarta.json.stream.JsonGenerator
-
write
public jakarta.json.stream.JsonGenerator write(String name, jakarta.json.JsonValue value)
- Specified by:
write
in interfacejakarta.json.stream.JsonGenerator
-
write
public jakarta.json.stream.JsonGenerator write(String name, String value)
- Specified by:
write
in interfacejakarta.json.stream.JsonGenerator
-
write
public jakarta.json.stream.JsonGenerator write(String name, BigInteger value)
- Specified by:
write
in interfacejakarta.json.stream.JsonGenerator
-
write
public jakarta.json.stream.JsonGenerator write(String name, BigDecimal value)
- Specified by:
write
in interfacejakarta.json.stream.JsonGenerator
-
write
public jakarta.json.stream.JsonGenerator write(String name, int value)
- Specified by:
write
in interfacejakarta.json.stream.JsonGenerator
-
write
public jakarta.json.stream.JsonGenerator write(String name, long value)
- Specified by:
write
in interfacejakarta.json.stream.JsonGenerator
-
write
public jakarta.json.stream.JsonGenerator write(String name, double value)
- Specified by:
write
in interfacejakarta.json.stream.JsonGenerator
-
write
public jakarta.json.stream.JsonGenerator write(String name, boolean value)
- Specified by:
write
in interfacejakarta.json.stream.JsonGenerator
-
writeNull
public jakarta.json.stream.JsonGenerator writeNull(String name)
- Specified by:
writeNull
in interfacejakarta.json.stream.JsonGenerator
-
write
public jakarta.json.stream.JsonGenerator write(jakarta.json.JsonValue value)
- Specified by:
write
in interfacejakarta.json.stream.JsonGenerator
-
write
public jakarta.json.stream.JsonGenerator write(String value)
- Specified by:
write
in interfacejakarta.json.stream.JsonGenerator
-
write
public jakarta.json.stream.JsonGenerator write(BigDecimal value)
- Specified by:
write
in interfacejakarta.json.stream.JsonGenerator
-
write
public jakarta.json.stream.JsonGenerator write(BigInteger value)
- Specified by:
write
in interfacejakarta.json.stream.JsonGenerator
-
write
public jakarta.json.stream.JsonGenerator write(int value)
- Specified by:
write
in interfacejakarta.json.stream.JsonGenerator
-
write
public jakarta.json.stream.JsonGenerator write(long value)
- Specified by:
write
in interfacejakarta.json.stream.JsonGenerator
-
write
public jakarta.json.stream.JsonGenerator write(double value)
- Specified by:
write
in interfacejakarta.json.stream.JsonGenerator
-
write
public jakarta.json.stream.JsonGenerator write(boolean value)
- Specified by:
write
in interfacejakarta.json.stream.JsonGenerator
-
writeNull
public jakarta.json.stream.JsonGenerator writeNull()
- Specified by:
writeNull
in interfacejakarta.json.stream.JsonGenerator
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfacejakarta.json.stream.JsonGenerator
-
-