Package ch.njol.yggdrasil.xml
Class YggXMLOutputStream
java.lang.Object
ch.njol.yggdrasil.YggdrasilOutputStream
ch.njol.yggdrasil.xml.YggXMLOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
Deprecated.
XML has so many quirks that storing arbitrary data cannot be guaranteed.
-
Field Summary
Fields inherited from class ch.njol.yggdrasil.YggdrasilOutputStream
yggdrasil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Deprecated.void
flush()
Deprecated.protected void
writeArrayComponentType
(Class<?> contentType) Deprecated.protected void
Deprecated.protected void
writeArrayLength
(int length) Deprecated.protected void
writeClassType
(Class<?> c) Deprecated.protected void
writeEnumID
(String id) Deprecated.protected void
writeEnumType
(String type) Deprecated.protected void
writeFieldID
(String id) Deprecated.protected void
writeNumFields
(short numFields) Deprecated.protected void
Deprecated.protected void
writeObjectType
(String type) Deprecated.protected void
Deprecated.protected void
Deprecated.protected void
writeReferenceID
(int ref) Deprecated.protected void
Deprecated.protected void
Deprecated.Methods inherited from class ch.njol.yggdrasil.YggdrasilOutputStream
writeObject, writeReference
-
Constructor Details
-
YggXMLOutputStream
public YggXMLOutputStream(Yggdrasil y, OutputStream out) throws IOException, FactoryConfigurationError Deprecated.- Throws:
IOException
FactoryConfigurationError
-
-
Method Details
-
writeTag
Deprecated.- Specified by:
writeTag
in classYggdrasilOutputStream
- Throws:
IOException
-
writePrimitiveValue
Deprecated.- Specified by:
writePrimitiveValue
in classYggdrasilOutputStream
- Throws:
IOException
-
writePrimitive_
Deprecated.- Specified by:
writePrimitive_
in classYggdrasilOutputStream
- Throws:
IOException
-
writeStringValue
Deprecated.- Specified by:
writeStringValue
in classYggdrasilOutputStream
- Throws:
IOException
-
writeArrayComponentType
Deprecated.- Specified by:
writeArrayComponentType
in classYggdrasilOutputStream
- Throws:
IOException
-
writeArrayLength
Deprecated.- Specified by:
writeArrayLength
in classYggdrasilOutputStream
- Throws:
IOException
-
writeArrayEnd
Deprecated.- Specified by:
writeArrayEnd
in classYggdrasilOutputStream
- Throws:
IOException
-
writeEnumType
Deprecated.- Specified by:
writeEnumType
in classYggdrasilOutputStream
- Throws:
IOException
-
writeEnumID
Deprecated.- Specified by:
writeEnumID
in classYggdrasilOutputStream
- Throws:
IOException
-
writeClassType
Deprecated.- Specified by:
writeClassType
in classYggdrasilOutputStream
- Throws:
IOException
-
writeReferenceID
Deprecated.- Specified by:
writeReferenceID
in classYggdrasilOutputStream
- Throws:
IOException
-
writeObjectType
Deprecated.- Specified by:
writeObjectType
in classYggdrasilOutputStream
- Throws:
IOException
-
writeNumFields
Deprecated.- Specified by:
writeNumFields
in classYggdrasilOutputStream
- Throws:
IOException
-
writeFieldID
Deprecated.- Specified by:
writeFieldID
in classYggdrasilOutputStream
- Throws:
IOException
-
writeObjectEnd
Deprecated.- Specified by:
writeObjectEnd
in classYggdrasilOutputStream
- Throws:
IOException
-
flush
Deprecated.- Throws:
IOException
-
close
Deprecated.- Throws:
IOException
-