source: trunk/gsdl3/src/java/org/greenstone/gsdl3/gs3build/doctypes/GMLDocument.java@ 7186

Last change on this file since 7186 was 6101, checked in by cs025, 21 years ago

Added getSectionText member function to documents

  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1package org.greenstone.gsdl3.gs3build.doctypes;
2
3import java.io.File;
4import java.net.URL;
5import java.util.ArrayList;
6import java.util.List;
7import java.util.Map;
8
9import org.greenstone.gsdl3.gs3build.metadata.METSDescriptiveSet;
10import org.greenstone.gsdl3.gs3build.util.MultiMap;
11
12/**
13 * A metadata-pure document - it only contains metadata
14 * on other documents, and this will be added to them during
15 * the "extract" phase. The decoration of the other documents
16 * with this extra metadata will only occur later, as at the
17 * point that this document/file is loaded, we may not in fact
18 * have come across them yet...
19 */
20
21public class GMLDocument extends AbstractDocument
22{
23 public static final String GML_DOCUMENT_TYPE = "GML";
24
25 public GMLDocument(URL url)
26 { super(url);
27 }
28
29 public String getDocumentType()
30 { return GML_DOCUMENT_TYPE;
31 }
32
33 /**
34 * A pretty minimal and lazy document text extraction process.
35 */
36 public String getDocumentText()
37 { return "";
38 }
39
40 public String getSectionText(String sectionId)
41 { return "";
42 }
43
44 public METSDescriptiveSet getDocumentMetadata()
45 { return null;
46 }
47}
Note: See TracBrowser for help on using the repository browser.