org.deegree.metadata
Interface MetadataRecord

All Known Implementing Classes:
DCRecord, ISORecord

public interface MetadataRecord

Base interface for metadata records.

Version:
$Revision: 27406 $, $Date: 2010-10-19 18:43:48 +0200 (Di, 19. Okt 2010) $
Author:
Markus Schneider, last edited by: $Author: sthomas $

Method Summary
 boolean eval(Filter filter)
          Returns whether this MetadataRecord matches the given Filter expression.
 java.lang.String[] getAbstract()
           
 java.lang.String getAnyText()
           
 Envelope[] getBoundingBox()
           
 java.lang.String getContributor()
           
 java.lang.String getCreator()
           
 java.lang.String[] getFormat()
           
 java.lang.String[] getIdentifier()
           
 java.lang.String getLanguage()
           
 Date[] getModified()
           
 javax.xml.namespace.QName getName()
           
 java.lang.String getPublisher()
           
 java.lang.String[] getRelation()
           
 java.lang.String[] getRights()
           
 java.lang.String getSource()
           
 java.lang.Object[] getSpatial()
           
 java.lang.String[] getSubject()
           
 java.lang.String[] getTitle()
           
 java.lang.String getType()
           
 void serialize(javax.xml.stream.XMLStreamWriter writer, CSWConstants.ReturnableElement returnType)
          Writes the XML representation of this record to the given XML stream.
 void serialize(javax.xml.stream.XMLStreamWriter writer, java.lang.String[] elementNames)
          Writes the XML representation of the specified elements to the given XML stream.
 DCRecord toDublinCore()
          Returns the Dublin Core representation of the requested record.
 

Method Detail

getName

javax.xml.namespace.QName getName()

getIdentifier

java.lang.String[] getIdentifier()

getTitle

java.lang.String[] getTitle()

getType

java.lang.String getType()

getAnyText

java.lang.String getAnyText()

getFormat

java.lang.String[] getFormat()

getRelation

java.lang.String[] getRelation()

getModified

Date[] getModified()

getAbstract

java.lang.String[] getAbstract()

getSpatial

java.lang.Object[] getSpatial()

getSubject

java.lang.String[] getSubject()

getSource

java.lang.String getSource()

getRights

java.lang.String[] getRights()

getCreator

java.lang.String getCreator()

getPublisher

java.lang.String getPublisher()

getContributor

java.lang.String getContributor()

getLanguage

java.lang.String getLanguage()

getBoundingBox

Envelope[] getBoundingBox()

toDublinCore

DCRecord toDublinCore()
Returns the Dublin Core representation of the requested record.

Returns:
DCRecord.

eval

boolean eval(Filter filter)
Returns whether this MetadataRecord matches the given Filter expression.

Parameters:
filter - filter to evaluate, must not be null
Returns:
true, if the record matches the filter, false otherwise

serialize

void serialize(javax.xml.stream.XMLStreamWriter writer,
               CSWConstants.ReturnableElement returnType)
               throws javax.xml.stream.XMLStreamException
Writes the XML representation of this record to the given XML stream.

Parameters:
writer - xml writer to write to, must not be null
returnType - the element set to return, never null
Throws:
javax.xml.stream.XMLStreamException - if the writing of the XML fails

serialize

void serialize(javax.xml.stream.XMLStreamWriter writer,
               java.lang.String[] elementNames)
               throws javax.xml.stream.XMLStreamException
Writes the XML representation of the specified elements to the given XML stream.

Parameters:
writer - xml writer to write to, must not be null
elementNames - the element set to return, must not be null.
Throws:
javax.xml.stream.XMLStreamException - if the writing of the XML fails


Copyright © 2011. All Rights Reserved.