Package com.io7m.smfj.parser.api

## Interface SMFParserEventsDataAttributesNonInterleavedType

- All Superinterfaces:
    `SMFParserEventsErrorType`
  All Known Implementing Classes:
    `SMFFCopier`, `SMFMemoryMeshProducer`, `SMFParserEventsDataAttributesNonInterleavedIgnoringReceiver`

      public interface SMFParserEventsDataAttributesNonInterleavedType
      extends SMFParserEventsErrorType

  A receiver of parse events for mesh attribute data. The expectation is that the methods in this interface will be called by parsers after the call to `SMFParserEventsHeaderType.onHeaderParsed(com.io7m.smfj.core.SMFHeader)`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `onDataAttributesNonInterleavedFinish()` | Called when parsing of all non-interleaved attribute data has finished.
    `java.util.Optional<SMFParserEventsDataAttributeValuesType>` | `onDataAttributeStart​(SMFAttribute attribute)` | Parsing of data for the attribute has started.

    - ### Methods inherited from interface com.io7m.smfj.parser.api.SMFParserEventsErrorType

      `onError, onWarning`

- - ### Method Detail

    - #### onDataAttributeStart

          java.util.Optional<SMFParserEventsDataAttributeValuesType> onDataAttributeStart​(SMFAttribute attribute)

      Parsing of data for the attribute has started.

      This method must return a receiver for the given attribute if it wants to receive values, or `Optional.empty()` if it does not.

      Parameters:
        `attribute` - The attribute
      Returns:
        A value receiver

    - #### onDataAttributesNonInterleavedFinish

          void onDataAttributesNonInterleavedFinish()

      Called when parsing of all non-interleaved attribute data has finished.