KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > bridge > util > xml > query > FieldDefinition


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

10 package org.mmbase.bridge.util.xml.query;
11
12 import org.mmbase.storage.search.StepField;
13 import org.w3c.dom.Element JavaDoc;
14
15 /**
16  * Defines options for a field to index.
17  *
18  * @author Pierre van Rooden
19  * @version $Id: FieldDefinition.java,v 1.6 2005/12/27 15:48:21 michiel Exp $
20  * @since MMBase-1.8
21  **/

22 public class FieldDefinition {
23
24     /**
25      * Name of the field
26      * XXX: How is this different from stepField.getFieldName() ?
27      */

28     public String JavaDoc fieldName = null;
29
30     /**
31      * Reference to (a) definition of this field in the query.
32      */

33     public StepField stepField = null;
34
35
36     /**
37      * Constructor
38      */

39     public FieldDefinition() {
40     }
41
42     /**
43      * Configures the field definition, using data from a DOM element
44      */

45     public void configure(Element JavaDoc fieldElement) {
46     }
47 }
48
49
Popular Tags