Package org.dlese.dpc.schemedit.test.tmp
Class MetsTester
java.lang.Object
org.dlese.dpc.schemedit.test.tmp.MetsTester
Class to insert values into METS instance documents.
- Version:
- $Id: MetsTester.java,v 1.3 2009/03/20 23:33:58 jweather Exp $
- Author:
- Jonathan Ostwald
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for the MetsTester objectMetsTester(String instanceDocPath) Constructor for the MetsTester object for an existing METS xml document at instanceDocPath. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDemonstrates how values are inserted into an Existing Mets document.static voidThe main program for the MetsTester classstatic voidDemonstrates how values are inserted into an empty Mets document.
-
Constructor Details
-
MetsTester
public MetsTester()Constructor for the MetsTester object -
MetsTester
Constructor for the MetsTester object for an existing METS xml document at instanceDocPath.- Parameters:
instanceDocPath- NOT YET DOCUMENTED
-
-
Method Details
-
existingMetsDoc
public static void existingMetsDoc()Demonstrates how values are inserted into an Existing Mets document. NOTE: the namespace prefix used in the xpath must mach the namespace declared in the instance document. -
newMetsDoc
public static void newMetsDoc()Demonstrates how values are inserted into an empty Mets document. NOTE: the namespace prefix in the Mets document is "this", so your xpaths must also use this prefix. -
main
The main program for the MetsTester class- Parameters:
args- The command line arguments- Throws:
Exception- NOT YET DOCUMENTED
-