001 /* 002 003 Copyright 2004 (C) John Wilson. All Rights Reserved. 004 005 Redistribution and use of this software and associated documentation 006 ("Software"), with or without modification, are permitted provided 007 that the following conditions are met: 008 009 1. Redistributions of source code must retain copyright 010 statements and notices. Redistributions must also contain a 011 copy of this document. 012 013 2. Redistributions in binary form must reproduce the 014 above copyright notice, this list of conditions and the 015 following disclaimer in the documentation and/or other 016 materials provided with the distribution. 017 018 3. The name "groovy" must not be used to endorse or promote 019 products derived from this Software without prior written 020 permission of The Codehaus. For written permission, 021 please contact info@codehaus.org. 022 023 4. Products derived from this Software may not be called "groovy" 024 nor may "groovy" appear in their names without prior written 025 permission of The Codehaus. "groovy" is a registered 026 trademark of The Codehaus. 027 028 5. Due credit should be given to The Codehaus - 029 http://groovy.codehaus.org/ 030 031 THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS 032 ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT 033 NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 034 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 035 THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 036 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 037 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 038 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 039 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 040 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 041 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 042 OF THE POSSIBILITY OF SUCH DAMAGE. 043 044 */ 045 046 package org.codehaus.groovy.sandbox.markup; 047 048 import groovy.lang.GroovyObject; 049 050 public interface Buildable { 051 void build(GroovyObject builder); 052 }