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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
writeArrayComponentType(Class<?> componentType)
protected abstract void
protected abstract void
writeArrayLength(int length)
protected abstract void
writeClassType(Class<?> c)
protected abstract void
writeEnumID(String id)
protected abstract void
writeEnumType(String type)
protected abstract void
writeFieldID(String id)
protected abstract void
writeNumFields(short numFields)
void
writeObject(@Nullable Object o)
protected abstract void
protected abstract void
writeObjectType(String type)
protected abstract void
protected abstract void
protected void
writeReference(int ref)
protected abstract void
writeReferenceID(int ref)
protected abstract void
protected 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
-