001 /***************************************************************************** 002 * Copyright (C) NanoContainer Organization. All rights reserved. * 003 * ------------------------------------------------------------------------- * 004 * The software in this package is published under the terms of the BSD * 005 * style license a copy of which has been included with this distribution in * 006 * the LICENSE.txt file. * 007 * * 008 * Original code by James Strachan * 009 *****************************************************************************/ 010 011 package org.nanocontainer.script.groovy.buildernodes; 012 013 import java.util.Map; 014 015 /** 016 * Handles 'doCall' nodes. 017 * @author James Strachan 018 * @author Paul Hammant 019 * @author Aslak Hellesøy 020 * @author Michael Rimov 021 * @author Mauro Talevi 022 * @version $Revision: 2695 $ 023 */ 024 public class DoCallNode extends AbstractBuilderNode { 025 026 public static final String NODE_NAME = "doCall"; 027 028 public DoCallNode() { 029 super(NODE_NAME); 030 } 031 032 public Object createNewNode(final Object current, final Map attributes) { 033 // TODO does this node need to be handled? 034 return null; 035 } 036 }