de.fhhannover.inform.trust.ifmapj.messages
Interface MetadataHolder
- All Superinterfaces:
- IdentifierHolder
- All Known Subinterfaces:
- PublishNotify, PublishUpdate, ResultItem
public interface MetadataHolder
- extends IdentifierHolder
Interface to access metadata containing elements.
An element containing a metadata element, as it is the case for
PublishUpdate
, PublishNotify
and ResultItem
objects.
Access to metadata is provided through the Document
class. That is,
metadata can be accessed using the org.w3c.dom functionality.
- Author:
- aw
addMetadata
void addMetadata(Document md)
- Parameters:
md
- the metadata object to be added.
- Throws:
NullPointerException
- if the metadata object is null;
getMetadata
List<Document> getMetadata()
- Note: The returned
List
is unmodifiable.
- Returns:
- the list of
Document
objects representing metadata.
Copyright © 2012 Trust@FHH. All Rights Reserved.