com.microfocus.awm.meta

## Interface IUnknownFeatureHandler

-     public interface IUnknownFeatureHandler

  Interface to handle unknown features during AWM model deserialization.
  Author:
    RalfP

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `handleUnknownFeature(java.lang.String pPrefix, java.lang.String pName, boolean pIsElement, org.eclipse.emf.ecore.EObject pPeekObject, java.lang.String pValue)` Attempts to handle the unknown feature e.g.

- - ### Method Detail

    - #### handleUnknownFeature

          boolean handleUnknownFeature(java.lang.String pPrefix,
                                       java.lang.String pName,
                                       boolean pIsElement,
                                       org.eclipse.emf.ecore.EObject pPeekObject,
                                       java.lang.String pValue)

      Attempts to handle the unknown feature e.g. by setting an attribute of the peek object. If a feature is handled, it is further ignored by the `XMLHandler` and won't be serialized again.
      Parameters:
        `pPrefix` - feature prefix
        `pName` - feature name
        `pIsElement` - whether the peek object is an element
        `pPeekObject` - the object that is currently parsed
        `pValue` - the feature value
      Returns:
        `true` if the feature was handled and can now be ignored. Returning `false` will cause an unknown feature exception to be thrown (which may lead to a model conversion attempt)

Copyright © 2015 Micro Focus GmbH. All rights reserved.