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

Last change on this file since 8494 was 8494, checked in by kjdon, 19 years ago

Added a constructor taking DOcumentID as arg

  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 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(DocumentID id)
26 { super(id);
27 }
28
29 public GMLDocument(URL url)
30 { super(url);
31 }
32
33 public String getDocumentType()
34 { return GML_DOCUMENT_TYPE;
35 }
36
37 /**
38 * A pretty minimal and lazy document text extraction process.
39 */
40 public String getDocumentText()
41 { return "";
42 }
43
44 public String getSectionText(String sectionId)
45 { return "";
46 }
47
48 public METSDescriptiveSet getDocumentMetadata()
49 { return null;
50 }
51}
Note: See TracBrowser for help on using the repository browser.