All Packages Class Hierarchy This Package Previous Next Index
Class cpt.cptDocument
java.lang.Object
|
+----cpt.cptDocument
- public class cptDocument
- extends Object
The document class of CPT.
-
cptDocument()
- Constructs a new empty cptDocument object.
-
cptDocument(String, Integer)
- Constructs a new cptDocument and initializes it.
-
exportMD(String, Integer)
- Export metadata from the document.
-
importMD(String, Integer, Integer, Integer)
- Imports metadata into the document.
-
main(String[])
- Tests the class.
cptDocument
public cptDocument()
- Constructs a new empty cptDocument object. Use the
cptDocument(URL) constructor instead.
cptDocument
public cptDocument(String location,
Integer locationtype)
- Constructs a new cptDocument and initializes it.
- Parameters:
- location - the metadata source to be used.
- locationtype - the type of the location string (URL or filename)
importMD
public void importMD(String location,
Integer locationtype,
Integer sourcetype,
Integer mode)
- Imports metadata into the document.
- Parameters:
- location - the metadata source to be used.
- locationtype - the type of the location string (URL or filename)
- sourcetype - the type of the metadata source.
- mode - what is done with conflicts in dimensions
that can hold only one value.
exportMD
public void exportMD(String location,
Integer targettype)
- Export metadata from the document.
- Parameters:
- location - the metadata source to be used.
- targettype - the type of the metadata source.
main
public static void main(String args[])
- Tests the class.
All Packages Class Hierarchy This Package Previous Next Index