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

Method Summary
 void addMetadata(Document md)
           
 List<Document> getMetadata()
          Note: The returned List is unmodifiable.
 
Methods inherited from interface de.fhhannover.inform.trust.ifmapj.messages.IdentifierHolder
getIdentifier, getIdentifier1, getIdentifier2, holdsLink, setIdentifier1, setIdentifier2
 

Method Detail

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.