com.io7m.smfj.parser.api

## Interface SMFParserEventsDataAttributesNonInterleavedType

- All Superinterfaces:
    SMFParserEventsErrorType
  All Known Implementing Classes:
    SMFByteBufferPackedMeshes, SMFFCopier, SMFMemoryMeshProducer

      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 and Description
    --- | ---
    `void` | `onDataAttributesNonInterleavedFinish()` Called when parsing of all non-interleaved attribute data has finished.
    `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

          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.

Copyright © 2017 <code@io7m.com> http://io7m.com