|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetadataRecord
Base interface for metadata records.
Method Summary | |
---|---|
boolean |
eval(Filter filter)
Returns whether this MetadataRecord matches the given Filter expression. |
String[] |
getAbstract()
|
org.apache.axiom.om.OMElement |
getAsOMElement()
Returns the root element of the record. |
Envelope[] |
getBoundingBox()
|
String |
getContributor()
|
String |
getCreator()
|
String[] |
getFormat()
|
String |
getIdentifier()
|
String |
getLanguage()
|
Date |
getModified()
|
QName |
getName()
|
String |
getPublisher()
|
String[] |
getRelation()
|
String[] |
getRights()
|
String |
getSource()
|
Object[] |
getSpatial()
|
String[] |
getSubject()
|
String[] |
getTitle()
|
String |
getType()
|
void |
removeNode(ValueReference propName)
|
void |
serialize(XMLStreamWriter writer,
CSWConstants.ReturnableElement returnType)
Writes the XML representation of this record to the given XML stream. |
void |
serialize(XMLStreamWriter writer,
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. |
void |
update(ValueReference propName,
org.apache.axiom.om.OMElement replaceValue)
|
void |
update(ValueReference propName,
String replaceValue)
Updates the property. |
Method Detail |
---|
QName getName()
String getIdentifier()
String[] getTitle()
String getType()
String[] getFormat()
String[] getRelation()
Date getModified()
String[] getAbstract()
Object[] getSpatial()
String[] getSubject()
String getSource()
String[] getRights()
String getCreator()
String getPublisher()
String getContributor()
String getLanguage()
Envelope[] getBoundingBox()
org.apache.axiom.om.OMElement getAsOMElement()
null
DCRecord toDublinCore()
DCRecord
.boolean eval(Filter filter)
MetadataRecord
matches the given Filter
expression.
filter
- filter to evaluate, must not be null
void serialize(XMLStreamWriter writer, CSWConstants.ReturnableElement returnType) throws XMLStreamException
writer
- xml writer to write to, must not be null
returnType
- the element set to return, never null
XMLStreamException
- if the writing of the XML failsvoid serialize(XMLStreamWriter writer, String[] elementNames) throws XMLStreamException
writer
- xml writer to write to, must not be null
elementNames
- the element set to return, must not be null
.
XMLStreamException
- if the writing of the XML failsvoid update(ValueReference propName, String replaceValue)
propName
- property name indicating the property to update, must not be null
replaceValue
- the new string, must not be null
void update(ValueReference propName, org.apache.axiom.om.OMElement replaceValue)
propName
- property name indicating the property to update, must not be null
replaceValue
- the new OMElement
to update the, must not be null
void removeNode(ValueReference propName)
propName
- property name indicating the property to remove, must not be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |