Interface SearchResultElementItem
- All Known Implementing Classes:
SearchResultElementItemImpl
public interface SearchResultElementItem
The OAI-PMH media package element result item
-
Method Details
-
getType
String getType()- Returns:
- the type of the media package element
-
getFlavor
String getFlavor()- Returns:
- the flavor of the media package element
-
getXml
String getXml()- Returns:
- the XML serialized content of the media package element
-
isEpisodeDublinCore
boolean isEpisodeDublinCore()- Returns:
- true, if the content is an episode dublincore catalog, false otherwise
-
isSeriesDublinCore
boolean isSeriesDublinCore()- Returns:
- true, if the content is a series dublincore catalog, false otherwise
-
asDublinCore
org.opencastproject.metadata.dublincore.DublinCoreCatalog asDublinCore() throws OaiPmhDatabaseExceptionParse and return the content as dublincore catalog. This method can be called only ifisEpisodeDublinCore()orisSeriesDublinCore()returns true- Returns:
- the serialized content as dublincore catalog
- Throws:
OaiPmhDatabaseException- if parsing dublincore catalog fail
-