Package com.io7m.waxmill.xml
Class WXMClientConfigurationSerializers
java.lang.Object
com.io7m.waxmill.xml.WXMClientConfigurationSerializers
- All Implemented Interfaces:
WXMClientConfigurationSerializerProviderType
,WXMSerializerProviderType<WXMClientConfiguration>
public final class WXMClientConfigurationSerializers extends java.lang.Object implements WXMClientConfigurationSerializerProviderType
A provider of configuration serializers.
-
Constructor Summary
Constructors Constructor Description WXMClientConfigurationSerializers()
Construct a provider. -
Method Summary
Modifier and Type Method Description WXMSerializerType
create(java.net.URI uri, java.io.OutputStream stream, WXMClientConfiguration value)
Create a new serializer.java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.io7m.waxmill.serializer.api.WXMSerializerProviderType
serialize
-
Constructor Details
-
WXMClientConfigurationSerializers
public WXMClientConfigurationSerializers()Construct a provider.
-
-
Method Details
-
create
public WXMSerializerType create(java.net.URI uri, java.io.OutputStream stream, WXMClientConfiguration value) throws java.io.IOExceptionDescription copied from interface:WXMSerializerProviderType
Create a new serializer.- Specified by:
create
in interfaceWXMSerializerProviderType<WXMClientConfiguration>
- Parameters:
uri
- The URI of the outputstream
- The output streamvalue
- The value to serialize- Returns:
- A new serializer
- Throws:
java.io.IOException
- On I/O errors
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-