ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/builder ModelBuilder.java
Date Sun, 19 May 2002 08:30:44 GMT
donaldp     02/05/19 01:30:44

  Added:       container/src/java/org/apache/myrmidon/interfaces/builder
                        ModelBuilder.java
  Log:
  Define service for Building a Model.
  
  Revision  Changes    Path
  1.1                  jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/builder/ModelBuilder.java
  
  Index: ModelBuilder.java
  ===================================================================
  /*
   * Copyright (C) The Apache Software Foundation. All rights reserved.
   *
   * This software is published under the terms of the Apache Software License
   * version 1.1, a copy of which has been included with this distribution in
   * the LICENSE.txt file.
   */
  package org.apache.myrmidon.interfaces.builder;
  
  import org.apache.myrmidon.api.metadata.ModelElement;
  import org.apache.myrmidon.api.metadata.ModelException;
  
  /**
   * Build a {@link ModelElement} tree from specified source.
   *
   * @author <a href="mailto:peter@apache.org">Peter Donald</a>
   * @version $Revision: 1.1 $ $Date: 2002/05/19 08:30:44 $
   */
  public interface ModelBuilder
  {
      /** Role name for this interface. */
      String ROLE = ModelBuilder.class.getName();
  
      /**
       * build a tree of {@link ModelElement}s from specified source.
       *
       * @param source the source of the project data.
       * @return the ModelElement tree
       * @exception ModelException if an error occurs
       */
      ModelElement build( String source )
          throws ModelException;
  }
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message