Class ModelCollectionUtils


public final class ModelCollectionUtils extends Object
  • Method Details

    • linkToParent

      public static void linkToParent(CtElement owner, CtElement element)
      Changes the parent of a CtElement to the passed owner iff the element does not already have a different parent.
      owner - the owner of the element
      element - the element to set the parent for