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 | |
---|
1 | package org.greenstone.gsdl3.gs3build.doctypes;
|
---|
2 |
|
---|
3 | import java.io.File;
|
---|
4 | import java.net.URL;
|
---|
5 | import java.util.ArrayList;
|
---|
6 | import java.util.List;
|
---|
7 | import java.util.Map;
|
---|
8 |
|
---|
9 | import org.greenstone.gsdl3.gs3build.metadata.METSDescriptiveSet;
|
---|
10 | import 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 |
|
---|
21 | public 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.