org.modeshape.jcr.xml

## Interface NodeImportDestination

-     public interface NodeImportDestination

  Interface which is expected to be implemented by clients that perform node importing via XML, using the `NodeImportXmlHandler` class.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ExecutionContext` | `getExecutionContext()` Retrieves the execution context of the destination, in which the import will take place and which is used for creating values via the `ValueFactories` and for registering namespaces via the `NamespaceRegistry`
    `void` | `submit(LinkedHashMap<Path,NodeImportXmlHandler.ImportElement> parseResults)` Processes the given [nodePath, parseElement] mappings, which represent the results of the xml parsing.

- - ### Method Detail

    - #### getExecutionContext

          ExecutionContext getExecutionContext()

      Retrieves the execution context of the destination, in which the import will take place and which is used for creating values via the `ValueFactories` and for registering namespaces via the `NamespaceRegistry`
      Returns:
        a non-null `ExecutionContext`

    - #### submit

          void submit(LinkedHashMap<Path,NodeImportXmlHandler.ImportElement> parseResults)
                      throws RepositoryException

      Processes the given [nodePath, parseElement] mappings, which represent the results of the xml parsing.
      Parameters:
        `parseResults` - a `Map` of import elements enqueued by path, never null.
      Throws:
        `RepositoryException` - if any error occurs while processing the parse results

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.