|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.metadata.ebrim.RegistryObject
public class RegistryObject
Base type for all ebRIM MetadataRecords.
| Field Summary | |
|---|---|
protected XMLAdapter |
adapter
|
protected static NamespaceBindings |
ns
|
static String |
RIM_NS
|
| Constructor Summary | |
|---|---|
RegistryObject(org.apache.axiom.om.OMElement record)
|
|
RegistryObject(XMLStreamReader xmlStream)
|
|
| 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 |
getDesc()
|
org.apache.axiom.om.OMElement |
getElement()
|
String |
getExtId()
|
String[] |
getFormat()
|
Geometry |
getGeometrySlotValue(String slotName)
|
String |
getHome()
|
String |
getId()
|
String |
getIdentifier()
|
String |
getLanguage()
|
String |
getLid()
|
Date |
getModified()
|
QName |
getName()
|
String |
getObjectType()
|
String |
getPublisher()
|
String[] |
getRelation()
|
String[] |
getRights()
|
RIMType |
getRIMType()
Returns the RIMType. |
String |
getROName()
|
String[] |
getSlotNames()
|
String |
getSlotValue(String slotName)
|
String[] |
getSlotValueList(String slotName)
|
String |
getSource()
|
Object[] |
getSpatial()
|
String |
getStatus()
|
String[] |
getSubject()
|
String[] |
getTitle()
|
String |
getType()
|
String |
getVersionInfo()
|
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 |
|---|
protected static final NamespaceBindings ns
public static final String RIM_NS
protected XMLAdapter adapter
| Constructor Detail |
|---|
public RegistryObject(org.apache.axiom.om.OMElement record)
public RegistryObject(XMLStreamReader xmlStream)
| Method Detail |
|---|
public RIMType getRIMType()
RIMType.
RIMType, never nullpublic QName getName()
getName in interface MetadataRecordpublic String getIdentifier()
getIdentifier in interface MetadataRecordpublic String[] getTitle()
getTitle in interface MetadataRecordpublic String getType()
getType in interface MetadataRecordpublic String[] getFormat()
getFormat in interface MetadataRecordpublic String[] getRelation()
getRelation in interface MetadataRecordpublic Date getModified()
getModified in interface MetadataRecordpublic String[] getAbstract()
getAbstract in interface MetadataRecordpublic Object[] getSpatial()
getSpatial in interface MetadataRecordpublic String[] getSubject()
getSubject in interface MetadataRecordpublic String getSource()
getSource in interface MetadataRecordpublic String[] getRights()
getRights in interface MetadataRecordpublic String getCreator()
getCreator in interface MetadataRecordpublic String getPublisher()
getPublisher in interface MetadataRecordpublic String getContributor()
getContributor in interface MetadataRecordpublic String getLanguage()
getLanguage in interface MetadataRecordpublic Envelope[] getBoundingBox()
getBoundingBox in interface MetadataRecordpublic org.apache.axiom.om.OMElement getAsOMElement()
MetadataRecord
getAsOMElement in interface MetadataRecordnullpublic DCRecord toDublinCore()
MetadataRecord
toDublinCore in interface MetadataRecordDCRecord.public boolean eval(Filter filter)
MetadataRecordMetadataRecord matches the given Filter expression.
eval in interface MetadataRecordfilter - filter to evaluate, must not be null
public void serialize(XMLStreamWriter writer,
CSWConstants.ReturnableElement returnType)
throws XMLStreamException
MetadataRecord
serialize in interface MetadataRecordwriter - xml writer to write to, must not be nullreturnType - the element set to return, never null
XMLStreamException - if the writing of the XML fails
public void serialize(XMLStreamWriter writer,
String[] elementNames)
throws XMLStreamException
MetadataRecord
serialize in interface MetadataRecordwriter - xml writer to write to, must not be nullelementNames - the element set to return, must not be null.
XMLStreamException - if the writing of the XML fails
public void update(ValueReference propName,
String replaceValue)
MetadataRecord
update in interface MetadataRecordpropName - property name indicating the property to update, must not be nullreplaceValue - the new string, must not be null
public void update(ValueReference propName,
org.apache.axiom.om.OMElement replaceValue)
update in interface MetadataRecordpropName - property name indicating the property to update, must not be nullreplaceValue - the new OMElement to update the, must not be nullpublic void removeNode(ValueReference propName)
removeNode in interface MetadataRecordpropName - property name indicating the property to remove, must not be nullpublic String getId()
public String getROName()
public String getDesc()
public String getExtId()
public String getHome()
public String getLid()
public String getStatus()
public String getVersionInfo()
public String getObjectType()
public Geometry getGeometrySlotValue(String slotName)
public String[] getSlotValueList(String slotName)
public String getSlotValue(String slotName)
public String[] getSlotNames()
public org.apache.axiom.om.OMElement getElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||