org.mycore.frontend.metsmods
Class MCRMetsModsUtil
java.lang.Object
org.mycore.frontend.metsmods.MCRMetsModsUtil
public class MCRMetsModsUtil
- extends Object
- Version:
- $Revision: 1.6 $ $Date: 2009/01/19 10:06:12 $
- Author:
- Stefan Freitag
|
Method Summary |
Element |
add_file(Element mets,
String file_id,
String url,
int order)
|
Element |
createMetsElement(ArrayList<String> list,
Element mets,
String default_url)
Gets a list containing picture names including directories. |
static ArrayList<MCRMetsModsPicture> |
getFileList(Document metsfile)
|
static Document |
getMetsFile(ArrayList<MCRMetsModsPicture> piclist,
Document metsfile)
|
Element |
init_amdSec(String derivate_id,
String owner,
String ownerLogo,
String ownerSiteURL,
String reference,
String presentation)
|
Element |
init_fileSec(String derivate_id)
|
Element |
init_mets(String derivate_id)
|
Element |
init_mods(String derivate_id,
String title,
String display,
String place,
String date)
|
Element |
init_structMap(String derivate_id)
|
void |
showElement(Element e)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileSec
Element fileSec
structMap
Element structMap
MCRMetsModsUtil
public MCRMetsModsUtil()
createMetsElement
public Element createMetsElement(ArrayList<String> list,
Element mets,
String default_url)
- Gets a list containing picture names including directories.
- Parameters:
list - of pictures
- Returns:
- JDOM element with METS
init_mets
public Element init_mets(String derivate_id)
init_mods
public Element init_mods(String derivate_id,
String title,
String display,
String place,
String date)
init_amdSec
public Element init_amdSec(String derivate_id,
String owner,
String ownerLogo,
String ownerSiteURL,
String reference,
String presentation)
showElement
public void showElement(Element e)
init_fileSec
public Element init_fileSec(String derivate_id)
init_structMap
public Element init_structMap(String derivate_id)
add_file
public Element add_file(Element mets,
String file_id,
String url,
int order)
getFileList
public static ArrayList<MCRMetsModsPicture> getFileList(Document metsfile)
getMetsFile
public static Document getMetsFile(ArrayList<MCRMetsModsPicture> piclist,
Document metsfile)