com.io7m.jstructural.annotated

## Interface SADocumentVisitor<D>

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

      public interface SADocumentVisitor<D>

  Document visitor.

- - ### Method Summary

    All Methods Instance Methods Abstract 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(SADocumentWithParts document)
                            throws Exception

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

    - #### visitDocumentWithSections

          D visitDocumentWithSections(SADocumentWithSections document)
                               throws Exception

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

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