org.apache.commons.configuration2.tree

## Interface InMemoryNodeModelSupport

- All Superinterfaces:
    NodeModelSupport<ImmutableNode>
  All Known Implementing Classes:
    AbstractYAMLBasedConfiguration, BaseHierarchicalConfiguration, CombinedConfiguration, DynamicCombinedConfiguration, INIConfiguration, JSONConfiguration, PatternSubtreeConfigurationWrapper, PropertyListConfiguration, SubnodeConfiguration, XMLConfiguration, XMLPropertyListConfiguration, YAMLConfiguration

      public interface InMemoryNodeModelSupport
      extends NodeModelSupport<ImmutableNode>

  A specialized version of the `NodeModelSupport` interface which allows querying an `InMemoryNodeModel`.

  This interface is needed by some special node model implementations used by in-memory configurations. Such implementations require the extended capabilities of an `InMemoryNodeModel`.

  Since:
    2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `InMemoryNodeModel` | `getNodeModel()` Returns the `NodeModel` supported by this object.

- - ### Method Detail

    - #### getNodeModel

          InMemoryNodeModel getNodeModel()

      Returns the `NodeModel` supported by this object. This variant specializes the return type to `InMemoryNodeModel`.
      Specified by:
        `getNodeModel` in interface `NodeModelSupport<ImmutableNode>`
      Returns:
        the `NodeModel`

Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.