Package ca.uhn.fhir.parser.json
Class BaseJsonLikeWriter
java.lang.Object
ca.uhn.fhir.parser.json.BaseJsonLikeWriter
- Direct Known Subclasses:
JacksonWriter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract BaseJsonLikeWriter
beginArray
(String name) abstract BaseJsonLikeWriter
abstract BaseJsonLikeWriter
beginObject
(String name) abstract void
close()
abstract BaseJsonLikeWriter
endArray()
abstract BaseJsonLikeWriter
endBlock()
abstract BaseJsonLikeWriter
abstract BaseJsonLikeWriter
flush()
abstract BaseJsonLikeWriter
init()
boolean
void
setPrettyPrint
(boolean tf) void
abstract BaseJsonLikeWriter
write
(boolean value) abstract BaseJsonLikeWriter
write
(double value) abstract BaseJsonLikeWriter
write
(long value) abstract BaseJsonLikeWriter
abstract BaseJsonLikeWriter
abstract BaseJsonLikeWriter
abstract BaseJsonLikeWriter
abstract BaseJsonLikeWriter
abstract BaseJsonLikeWriter
abstract BaseJsonLikeWriter
abstract BaseJsonLikeWriter
write
(String name, BigDecimal value) abstract BaseJsonLikeWriter
write
(String name, BigInteger value) abstract BaseJsonLikeWriter
write
(BigDecimal value) abstract BaseJsonLikeWriter
write
(BigInteger value) abstract BaseJsonLikeWriter
-
Constructor Details
-
BaseJsonLikeWriter
public BaseJsonLikeWriter()
-
-
Method Details
-
isPrettyPrint
-
setPrettyPrint
-
getWriter
-
setWriter
-
init
- Throws:
IOException
-
flush
- Throws:
IOException
-
close
- Throws:
IOException
-
beginObject
- Throws:
IOException
-
beginObject
- Throws:
IOException
-
beginArray
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
writeNull
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
endObject
- Throws:
IOException
-
endArray
- Throws:
IOException
-
endBlock
- Throws:
IOException
-