org.qi4j.library.rest.server.restlet.freemarker

## Class ValueCompositeObjectWrapper

- java.lang.Object
- - freemarker.ext.beans.BeansWrapper
  - - freemarker.template.DefaultObjectWrapper
    - - org.qi4j.library.rest.server.restlet.freemarker.ValueCompositeObjectWrapper

- All Implemented Interfaces:
    freemarker.template.ObjectWrapper, freemarker.template.ObjectWrapperAndUnwrapper, freemarker.template.utility.ObjectWrapperWithAPISupport, freemarker.template.utility.RichObjectWrapper, freemarker.template.utility.WriteProtectable

      public class ValueCompositeObjectWrapper
      extends freemarker.template.DefaultObjectWrapper

  ObjectWrapper implementation that adds support for ValueComposites, exposing Property state.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class freemarker.ext.beans.BeansWrapper

      `freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision, freemarker.ext.beans.BeansWrapper.MethodAppearanceDecisionInput`

  - ### Field Summary

    - ### Fields inherited from class freemarker.ext.beans.BeansWrapper

      `EXPOSE_ALL, EXPOSE_NOTHING, EXPOSE_PROPERTIES_ONLY, EXPOSE_SAFE`

    - ### Fields inherited from interface freemarker.template.ObjectWrapperAndUnwrapper

      `CANT_UNWRAP_TO_TARGET_CLASS`

    - ### Fields inherited from interface freemarker.template.ObjectWrapper

      `BEANS_WRAPPER, DEFAULT_WRAPPER, SIMPLE_WRAPPER`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ValueCompositeObjectWrapper()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `freemarker.template.TemplateModel` | `wrap(Object obj)`

    - ### Methods inherited from class freemarker.template.DefaultObjectWrapper

      `convertArray, getForceLegacyNonListCollections, getUseAdaptersForContainers, handleUnknownType, normalizeIncompatibleImprovementsVersion, setForceLegacyNonListCollections, setUseAdaptersForContainers, toPropertiesString, wrapDomNode`

    - ### Methods inherited from class freemarker.ext.beans.BeansWrapper

      `checkModifiable, clearClassIntrospecitonCache, coerceBigDecimal, coerceBigDecimals, coerceBigDecimals, finalizeConstruction, finetuneMethodAppearance, getDefaultDateType, getDefaultInstance, getEnumModels, getExposureLevel, getIncompatibleImprovements, getInstance, getMethodAppearanceFineTuner, getModelFactory, getOuterIdentity, getStaticModels, getUseCache, isClassIntrospectionCacheRestricted, isExposeFields, isSimpleMapWrapper, isStrict, isWriteProtected, newInstance, removeFromClassIntrospectionCache, setDefaultDateType, setExposeFields, setExposureLevel, setMethodAppearanceFineTuner, setMethodsShadowItems, setNullModel, setOuterIdentity, setSimpleMapWrapper, setStrict, setUseCache, toString, tryUnwrapTo, unwrap, unwrap, wrap, wrapAsAPI, writeProtect`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ValueCompositeObjectWrapper

          public ValueCompositeObjectWrapper()

  - ### Method Detail

    - #### wrap

          public freemarker.template.TemplateModel wrap(Object obj)
                                                 throws freemarker.template.TemplateModelException

      Specified by:
        `wrap` in interface `freemarker.template.ObjectWrapper`
      Overrides:
        `wrap` in class `freemarker.template.DefaultObjectWrapper`
      Throws:
        `freemarker.template.TemplateModelException`