Interface OMContainerEx

All Superinterfaces:
OMContainer, OMSerializable

public interface OMContainerEx extends OMContainer
Interface OMContainerEx

Internal Implementation detail. Adding special interface to stop folks from accidently using OMContainer. Please use at your own risk. May corrupt the data integrity.

  • Method Details

    • setComplete

      void setComplete(boolean state)
    • setFirstChild

      void setFirstChild(OMNode omNode)
      forcefully set the first element in this parent element
      Parameters:
      omNode -
    • setLastChild

      void setLastChild(OMNode omNode)
      forcefully set the last element in this parent element
      Parameters:
      omNode -
    • getFirstOMChildIfAvailable

      OMNode getFirstOMChildIfAvailable()
      Get the first child if it is available. The child is available if it is complete or if the builder has started building the node. In the latter case, OMSerializable.isComplete() may return false when called on the child. In contrast to OMContainer.getFirstOMChild(), this method will never modify the state of the underlying parser.
      Returns:
      the first child or null if the container has no children or the builder has not yet started to build the first child