com.io7m.jstructural.core

## Interface SDocumentVisitor<D>

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

      public interface SDocumentVisitor<D>

  Document visitor.

- - ### Method Summary

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

- - ### Method Detail

    - #### visitDocumentWithParts

          D visitDocumentWithParts(SDocumentWithParts 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(SDocumentWithSections 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 © 2014 <code@io7m.com> http://io7m.com