From 87db931418237483fc927147e93de00781d8a304 Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Wed, 27 Jun 2001 00:46:40 +0000 Subject: [PATCH] Remove placeholder files for framework component. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269235 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/myrmidon/framework/ItemSet.java | 26 --------------- .../org/apache/myrmidon/framework/Mapper.java | 33 ------------------- .../apache/myrmidon/framework/Scanner.java | 20 ----------- 3 files changed, 79 deletions(-) delete mode 100644 proposal/myrmidon/src/java/org/apache/myrmidon/framework/ItemSet.java delete mode 100644 proposal/myrmidon/src/java/org/apache/myrmidon/framework/Mapper.java delete mode 100644 proposal/myrmidon/src/java/org/apache/myrmidon/framework/Scanner.java diff --git a/proposal/myrmidon/src/java/org/apache/myrmidon/framework/ItemSet.java b/proposal/myrmidon/src/java/org/apache/myrmidon/framework/ItemSet.java deleted file mode 100644 index 4ec5bfeed..000000000 --- a/proposal/myrmidon/src/java/org/apache/myrmidon/framework/ItemSet.java +++ /dev/null @@ -1,26 +0,0 @@ -/* - * 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 file. - */ -package org.apache.myrmidon.framework; - -/** - * Interface for ItemSet. - * An item set contains a number of items. Example item sets include - * PatternSets, FileSets, FilterSets etc. - * - * @author Peter Donald - */ -public interface ItemSet - extends DataType -{ - /** - * Returns an array containing the items(s) contained within set. - * - * Question: should ItemSet be context sensitive???? - */ - Object[] getItems( /* Context context??? */ ); -} diff --git a/proposal/myrmidon/src/java/org/apache/myrmidon/framework/Mapper.java b/proposal/myrmidon/src/java/org/apache/myrmidon/framework/Mapper.java deleted file mode 100644 index 164489d5c..000000000 --- a/proposal/myrmidon/src/java/org/apache/myrmidon/framework/Mapper.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 file. - */ -package org.apache.myrmidon.framework; - -/** - * Interface for Mappers. - * Mappers are responsible for mapping source items to targets items. - * Example mappers will map source files to destination files - * (ie A.java to A.class). - * - * @author Peter Donald - * @author Stefan Bodewig - */ -public interface Mapper - extends DataType -{ - /** - * Returns an array containing the target items(s) for the - * given source file. - * - *

if the given rule doesn't apply to the input item, - * implementation must return null. Scanner will then - * omit the item in question.

- * - * @param item the item to be mapped - */ - Object[] mapItem( Object item ); -} diff --git a/proposal/myrmidon/src/java/org/apache/myrmidon/framework/Scanner.java b/proposal/myrmidon/src/java/org/apache/myrmidon/framework/Scanner.java deleted file mode 100644 index fabc8e737..000000000 --- a/proposal/myrmidon/src/java/org/apache/myrmidon/framework/Scanner.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * 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 file. - */ -package org.apache.myrmidon.framework; - -import org.apache.avalon.framework.component.Component; - -/** - * Interface for Scanners. - * - * @author Peter Donald - */ -public interface Scanner - extends Component -{ -}