public class ElementGenerator extends Object
| Constructor and Description |
|---|
ElementGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static Element |
customMetadataFormat(Repository repository)
generates a custom "metadataFormat" element, to support any kind of repository (mainly for use with ListMetadataFormats)
|
static String |
domToXML(Element el) |
static Document |
getDocument() |
static Element |
oaidcMetadataFormat()
generates the default OAI-DC "metadataFormat" element (mainly for use with ListMetadataFormats)
|
public static Element oaidcMetadataFormat()
public static Element customMetadataFormat(Repository repository)
public static Document getDocument()
public static String domToXML(Element el) throws TransformerException
el - TransformerExceptionCopyright © 2016. All Rights Reserved.