Class SchemaWriter
java.lang.Object
org.infinispan.protostream.schema.SchemaWriter
- Since:
- 5.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidindent()private voidoutdent()voidprivate voidwriteComments(Writer w, Collection<String> comments) private voidwriteEnums(Writer w, Collection<Enum> enums) private voidwriteFields(Writer w, Map<String, Field> fields) private voidwriteMessages(Writer w, Collection<Message> messages) private voidprivate voidwriteOneOfs(Writer w, List<OneOf> oneOfs) private voidwriteOptions(Writer w, Map<String, Object> options, boolean single) private voidwriteReserved(Writer w, Set<String> reservedNames) private voidwriteReserved(Writer w, ReservedNumbers reservedNumbers)
-
Field Details
-
indent
private final int indent -
offset
private int offset
-
-
Constructor Details
-
SchemaWriter
SchemaWriter(int indent) -
SchemaWriter
SchemaWriter()
-
-
Method Details
-
write
- Throws:
IOException
-
writeComments
- Throws:
IOException
-
writeOffset
- Throws:
IOException
-
writeMessages
- Throws:
IOException
-
writeReserved
- Throws:
IOException
-
writeReserved
- Throws:
IOException
-
writeOneOfs
- Throws:
IOException
-
writeFields
- Throws:
IOException
-
writeEnums
- Throws:
IOException
-
writeOptions
- Throws:
IOException
-
indent
private void indent() -
outdent
private void outdent()
-