Class OptionalStructureWrapper

java.lang.Object
org.jibx.binding.def.PassThroughComponent
org.jibx.binding.def.OptionalStructureWrapper
All Implemented Interfaces:
IComponent, ILinkable

public class OptionalStructureWrapper extends PassThroughComponent
Component decorator for optional structure with associated property. This just handles necessary glue code generation for the marshalling operations, where the presence of the structure needs to be tested before actually handling tag generation.
  • Field Details

    • m_property

      private final PropertyDefinition m_property
      Property definition.
    • m_loadMarshal

      private final boolean m_loadMarshal
      Load object for marshalling code generation flag.
  • Constructor Details

    • OptionalStructureWrapper

      public OptionalStructureWrapper(IComponent wrap, PropertyDefinition prop, boolean load)
      Constructor.
      Parameters:
      wrap - wrapped binding component
      load - flag for need to load object for marshalling code
  • Method Details