code: private void parseTrigger(Element node, LayoutElement parent) {
          LayoutTrigger trigger = new LayoutTrigger();
          parent.getTriggers().add(trigger);
          parseChildren(node, trigger, Tag.CONDITION, Tag.ACTION);
      }
docs: Parse a trigger node.
  
  @param node The DOM node.
  @param parent The parent layout element.