|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.metadata.ISORecord
public class ISORecord
Represents an ISO 19115 MetadataRecord
.
Constructor Summary | |
---|---|
ISORecord(org.apache.axiom.om.OMElement root,
ISOMetadataStoreConfig.AnyText anyText)
|
|
ISORecord(javax.xml.stream.XMLStreamReader xmlStream,
ISOMetadataStoreConfig.AnyText anyText)
|
Method Summary | |
---|---|
boolean |
eval(Filter filter)
Returns whether this MetadataRecord matches the given Filter expression. |
java.lang.String[] |
getAbstract()
|
java.lang.String |
getAnyText()
|
byte[] |
getAsByteArray()
|
org.apache.axiom.om.OMElement |
getAsOMElement()
|
javax.xml.stream.XMLStreamReader |
getAsXMLStream()
|
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 |
getParentIdentifier()
|
ParsedProfileElement |
getParsedElement()
|
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()
|
boolean |
isHasSecurityConstraints()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ISORecord(javax.xml.stream.XMLStreamReader xmlStream, ISOMetadataStoreConfig.AnyText anyText) throws MetadataStoreException
MetadataStoreException
public ISORecord(org.apache.axiom.om.OMElement root, ISOMetadataStoreConfig.AnyText anyText) throws MetadataStoreException
MetadataStoreException
Method Detail |
---|
public javax.xml.namespace.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 java.lang.String[] getAbstract()
getAbstract
in interface MetadataRecord
public java.lang.String getAnyText()
getAnyText
in interface MetadataRecord
public Envelope[] getBoundingBox()
getBoundingBox
in interface MetadataRecord
public java.lang.String[] getFormat()
getFormat
in interface MetadataRecord
public java.lang.String[] getIdentifier()
getIdentifier
in interface MetadataRecord
public Date[] getModified()
getModified
in interface MetadataRecord
public java.lang.String[] getRelation()
getRelation
in interface MetadataRecord
public java.lang.Object[] getSpatial()
getSpatial
in interface MetadataRecord
public java.lang.String[] getTitle()
getTitle
in interface MetadataRecord
public java.lang.String getType()
getType
in interface MetadataRecord
public java.lang.String[] getSubject()
getSubject
in interface MetadataRecord
public javax.xml.stream.XMLStreamReader getAsXMLStream() throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public org.apache.axiom.om.OMElement getAsOMElement()
public byte[] getAsByteArray() throws javax.xml.stream.XMLStreamException, javax.xml.stream.FactoryConfigurationError
javax.xml.stream.XMLStreamException
javax.xml.stream.FactoryConfigurationError
public void serialize(javax.xml.stream.XMLStreamWriter writer, CSWConstants.ReturnableElement returnType) throws javax.xml.stream.XMLStreamException
MetadataRecord
serialize
in interface MetadataRecord
writer
- xml writer to write to, must not be null
returnType
- the element set to return, never null
javax.xml.stream.XMLStreamException
- if the writing of the XML failspublic void serialize(javax.xml.stream.XMLStreamWriter writer, java.lang.String[] elementNames) throws javax.xml.stream.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
.
javax.xml.stream.XMLStreamException
- if the writing of the XML failspublic DCRecord toDublinCore()
MetadataRecord
toDublinCore
in interface MetadataRecord
DCRecord
.public boolean isHasSecurityConstraints()
public java.lang.String getContributor()
getContributor
in interface MetadataRecord
public java.lang.String getPublisher()
getPublisher
in interface MetadataRecord
public java.lang.String[] getRights()
getRights
in interface MetadataRecord
public java.lang.String getSource()
getSource
in interface MetadataRecord
public java.lang.String getCreator()
getCreator
in interface MetadataRecord
public java.lang.String getLanguage()
getLanguage
in interface MetadataRecord
public java.lang.String getParentIdentifier()
public ParsedProfileElement getParsedElement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |