Package ch.njol.yggdrasil
Class YggdrasilOutputStream
java.lang.Object
ch.njol.yggdrasil.YggdrasilOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Direct Known Subclasses:
DefaultYggdrasilOutputStream,YggXMLOutputStream
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidwriteArrayComponentType(Class<?> componentType)protected abstract voidprotected abstract voidwriteArrayLength(int length)protected abstract voidwriteClassType(Class<?> c)protected abstract voidwriteEnumID(String id)protected abstract voidwriteEnumType(String type)protected abstract voidwriteFieldID(String id)protected abstract voidwriteNumFields(short numFields)voidwriteObject(@Nullable Object o)protected abstract voidprotected abstract voidwriteObjectType(String type)protected abstract voidprotected abstract voidprotected voidwriteReference(int ref)protected abstract voidwriteReferenceID(int ref)protected abstract voidprotected abstract void
-
Field Details
-
yggdrasil
-
-
Constructor Details
-
YggdrasilOutputStream
-
-
Method Details
-
writeTag
- Throws:
IOException
-
writePrimitiveValue
- Throws:
IOException
-
writePrimitive_
- Throws:
IOException
-
writeStringValue
- Throws:
IOException
-
writeArrayComponentType
- Throws:
IOException
-
writeArrayLength
- Throws:
IOException
-
writeArrayEnd
- Throws:
IOException
-
writeEnumType
- Throws:
IOException
-
writeEnumID
- Throws:
IOException
-
writeClassType
- Throws:
IOException
-
writeReferenceID
- Throws:
IOException
-
writeReference
- Throws:
IOException
-
writeObjectType
- Throws:
IOException
-
writeNumFields
- Throws:
IOException
-
writeFieldID
- Throws:
IOException
-
writeObjectEnd
- Throws:
IOException
-
writeObject
- Throws:
IOException
-