code: private void addMixins(Node node, List<String> mixinTypes)
     {
        for (int i = 0; i < mixinTypes.size(); i++)
        {
           String curMixinType = mixinTypes.get(i);
           try
           {
              node.addMixin(curMixinType);
           }
           catch (Exception exc)
           {
              log.error("Can't add mixin [" + curMixinType + "]", exc);
           }
        }
     }
docs: Adds mixins to node.
  
  @param node node.
  @param mixinTypes mixin types.