source: trunk/gli/src/org/greenstone/gatherer/cdm/ArgumentContainer.java@ 4932

Last change on this file since 4932 was 4932, checked in by jmt12, 21 years ago

Major CDM rewrite so it uses DOM.

  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
1/**
2 *#########################################################################
3 *
4 * A component of the Gatherer application, part of the Greenstone digital
5 * library suite from the New Zealand Digital Library Project at the
6 * University of Waikato, New Zealand.
7 *
8 * Author: John Thompson, Greenstone Digital Library, University of Waikato
9 *
10 * Copyright (C) 1999 New Zealand Digital Library Project
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 *########################################################################
26 */
27package org.greenstone.gatherer.cdm;
28/**************************************************************************************
29 * Written: 20/05/02
30 * Revised: 03/07/03
31 **************************************************************************************/
32import java.util.ArrayList;
33/** This class provides an interface to any class that contains a list of Arguments.
34 * @author John Thompson, Greenstone Digital Library, University of Waikato
35 * @version 2.3
36 */
37public interface ArgumentContainer {
38 /** Method to retrieve the list of arguments from this container. Note that this method returns both the containers arguments plus its 'supers' arguments if any, and alphabetically orders them.
39 * @param include_normal true to filter so normal arguments are returned
40 * @param include_custom true to filter so custom arguments are returned
41 * @return the arguments within a ArrayList
42 */
43 public ArrayList getArguments(boolean include_normal, boolean include_custom);
44 /** Method to retrieve this containers custom argument string.
45 * @return the custom arguments as a String
46 */
47 public String getCustom();
48 /** Method to retrieve the name associated with this argument container.
49 * @return the name as a String
50 */
51 public String getName();
52 /** Method to set the custom arguments string.
53 * @param custom the new custom argument String
54 */
55 public void setCustom(String custom);
56}
57
58
59
60
61
Note: See TracBrowser for help on using the repository browser.