public interface MetadataConverterIF
InvCatalogConvertIF
,
InvCatalogFactory
Modifier and Type | Method and Description |
---|---|
void |
addMetadataContent(org.jdom2.Element mdataElement,
java.lang.Object contentObject)
Serialize the InvMetadata content object to a org.jdom2.Element and add ro the
|
java.lang.Object |
readMetadataContent(InvDataset dataset,
org.jdom2.Element mdataElement)
Create an InvMetadata content object from an org.jdom2.Element.
|
java.lang.Object |
readMetadataContentFromURL(InvDataset dataset,
java.net.URI uri)
Create an InvMetadata content object from an XML document at a named URL.
|
boolean |
validateMetadataContent(java.lang.Object contentObject,
java.lang.StringBuilder out)
Validate internal data structures.
|
java.lang.Object readMetadataContent(InvDataset dataset, org.jdom2.Element mdataElement)
dataset
- : the containing datasetmdataElement
- : the java.lang.Object readMetadataContentFromURL(InvDataset dataset, java.net.URI uri) throws java.io.IOException
dataset
- : the containing dataseturi
- : the URI that the XML doc is at.java.io.IOException
- on read errorvoid addMetadataContent(org.jdom2.Element mdataElement, java.lang.Object contentObject)
mdataElement
- : the org.w3c.dom.Element to add tocontentObject
- : the InvMetadata content objectboolean validateMetadataContent(java.lang.Object contentObject, java.lang.StringBuilder out)
contentObject
- : the content objectout
- : print errors here