|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectse.kb.oai.ore.Metadata
public class Metadata
Class that represents a metadata element that can be set for an Aggregation
or an AggreagatedResource. Only metadata from the Dublin Core elements
(DC) namespace or the Dublin Core terms (DCTERMS) namespace can be created.
| Nested Class Summary | |
|---|---|
static class |
Metadata.Namespace
|
| Constructor Summary | |
|---|---|
Metadata(Metadata.Namespace ns,
String name,
String value)
Create a Metadata. |
|
| Method Summary | |
|---|---|
QName |
getName()
Get the qualified name of this metadata. |
static QName |
getName(Metadata.Namespace ns,
String name)
Helper method that creates a qualified name with the given namespace and name. |
String |
getValue()
Get the value of this metadata. |
void |
setValue(String value)
Set the value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Metadata(Metadata.Namespace ns,
String name,
String value)
Metadata.
ns - a namespace, can only be DC or DCTERMSname - the name of the metadata elementvalue - the value of the metadata| Method Detail |
|---|
public QName getName()
public String getValue()
public void setValue(String value)
value - the value
public static QName getName(Metadata.Namespace ns,
String name)
ns - a namespace, can only be DC or DCTERMSname - the name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||