com.io7m.jstructural.annotated

## Interface SADocumentVisitor<D>

- Type Parameters:
    `D` - The type of transformed `SADocument`s.

      public interface SADocumentVisitor<D>

  Document visitor.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `D` | `visitDocumentWithParts(SADocumentWithParts document)` Visit a document with top-level parts.
    `D` | `visitDocumentWithSections(SADocumentWithSections document)` Visit a document with top-level sections.

- - ### Method Detail

    - #### visitDocumentWithParts

          D visitDocumentWithParts(@Nonnull
                                 SADocumentWithParts document)
                                   throws com.io7m.jaux.Constraints.ConstraintError,
                                          Exception

      Visit a document with top-level parts.
      Parameters:
        `document` - The document element
      Returns:
        A value of type `A`
      Throws:
        `com.io7m.jaux.Constraints.ConstraintError` - If required
        `Exception` - If required

    - #### visitDocumentWithSections

          D visitDocumentWithSections(@Nonnull
                                    SADocumentWithSections document)
                                      throws com.io7m.jaux.Constraints.ConstraintError,
                                             Exception

      Visit a document with top-level sections.
      Parameters:
        `document` - The document element
      Returns:
        A value of type `A`
      Throws:
        `com.io7m.jaux.Constraints.ConstraintError` - If required
        `Exception` - If required

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