org.eclipse.incquery.patternlanguage.emf.specification.builder

## Class PatternBodyTransformer

- java.lang.Object
- - org.eclipse.incquery.patternlanguage.emf.specification.builder.PatternBodyTransformer

-     public class PatternBodyTransformer
      extends java.lang.Object

  Transforms a `PatternBody`.
  Since:
    1.1

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PatternBodyTransformer(Pattern pattern)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `<Result> Result` | `transform(PatternBody body, PatternModelAcceptor<Result> acceptor)` Traverses the given `PatternBody`, making proper calls to the given `PatternModelAcceptor` during the traversal, then returns the result of the acceptor.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PatternBodyTransformer

          public PatternBodyTransformer(Pattern pattern)

  - ### Method Detail

    - #### transform

          public <Result> Result transform(PatternBody body,
                                           PatternModelAcceptor<Result> acceptor)
                                    throws QueryInitializationException

      Traverses the given `PatternBody`, making proper calls to the given `PatternModelAcceptor` during the traversal, then returns the result of the acceptor.
      Throws:
        `QueryInitializationException`