public interface SMFSerializerDataAttributesNonInterleavedType extends Closeable
| Modifier and Type | Method and Description |
|---|---|
SMFSerializerDataAttributesValuesType |
serializeData(SMFAttributeName name)
Start serializing data for a single attribute.
|
SMFSerializerDataAttributesValuesType serializeData(SMFAttributeName name) throws IllegalArgumentException, IllegalStateException, IOException
Start serializing data for a single attribute.
This method must be called once for each attribute in the header passed
to SMFSerializerType.serializeHeader(com.io7m.smfj.core.SMFHeader)
in the order the attributes are specified by SMFHeader.attributesInOrder().
If the method raises an exception, the serializer is considered to have
failed and all subsequent method calls will raise IllegalArgumentException.
name - The attribute nameIllegalArgumentException - Iff the given attribute is not the next
expected attributeIllegalStateException - If too few values have been serialized for
the attribute previously passed to this
methodIllegalStateException - If the header has not yet been serializedIllegalStateException - If the serializer has previously failedIOException - On I/O errorsCopyright © 2017 <code@io7m.com> http://io7m.com