|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.metadata.DCRecord
public class DCRecord
DublinCore MetadataRecord
.
Field Summary | |
---|---|
static String |
DC_RECORD_NS
|
static String |
SCHEMA_URL
|
Constructor Summary | |
---|---|
DCRecord(MetadataRecord record)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String DC_RECORD_NS
public static final String SCHEMA_URL
Constructor Detail |
---|
public DCRecord(MetadataRecord record)
Method Detail |
---|
public QName getName()
getName
in interface MetadataRecord
public boolean eval(Filter filter)
MetadataRecord
MetadataRecord
matches the given Filter
expression.
eval
in interface MetadataRecord
filter
- filter to evaluate, must not be null
public String[] getAbstract()
getAbstract
in interface MetadataRecord
public Envelope[] getBoundingBox()
getBoundingBox
in interface MetadataRecord
public String[] getFormat()
getFormat
in interface MetadataRecord
public String getIdentifier()
getIdentifier
in interface MetadataRecord
public Date getModified()
getModified
in interface MetadataRecord
public String[] getRelation()
getRelation
in interface MetadataRecord
public Object[] getSpatial()
getSpatial
in interface MetadataRecord
public String[] getSubject()
getSubject
in interface MetadataRecord
public String[] getTitle()
getTitle
in interface MetadataRecord
public String getType()
getType
in interface MetadataRecord
public void serialize(XMLStreamWriter writer, CSWConstants.ReturnableElement returnType) throws XMLStreamException
MetadataRecord
serialize
in interface MetadataRecord
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 failspublic void serialize(XMLStreamWriter writer, String[] elementNames) throws XMLStreamException
MetadataRecord
serialize
in interface MetadataRecord
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 failspublic DCRecord toDublinCore()
MetadataRecord
toDublinCore
in interface MetadataRecord
DCRecord
.public String getContributor()
getContributor
in interface MetadataRecord
public String getLanguage()
getLanguage
in interface MetadataRecord
public String getPublisher()
getPublisher
in interface MetadataRecord
public String[] getRights()
getRights
in interface MetadataRecord
public String getSource()
getSource
in interface MetadataRecord
public String getCreator()
getCreator
in interface MetadataRecord
public void update(ValueReference propName, String replaceValue)
MetadataRecord
update
in interface MetadataRecord
propName
- property name indicating the property to update, must not be null
replaceValue
- the new string, must not be null
public void update(ValueReference propName, org.apache.axiom.om.OMElement replaceValue)
update
in interface MetadataRecord
propName
- property name indicating the property to update, must not be null
replaceValue
- the new OMElement
to update the, must not be null
public void removeNode(ValueReference propName)
removeNode
in interface MetadataRecord
propName
- property name indicating the property to remove, must not be null
public org.apache.axiom.om.OMElement getAsOMElement()
MetadataRecord
getAsOMElement
in interface MetadataRecord
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |