|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.harvard.hul.ois.mets.helper.MetsElement
edu.harvard.hul.ois.mets.helper.MetsVElement
edu.harvard.hul.ois.mets.helper.MetsIDElement
edu.harvard.hul.ois.mets.MetsHdr
This class encapsulates the <metsHdr> element. See <http://www.loc.gov/standards/mets/>.
| Field Summary |
| Fields inherited from class edu.harvard.hul.ois.mets.helper.MetsIDElement |
_ID |
| Fields inherited from class edu.harvard.hul.ois.mets.helper.MetsVElement |
_valid |
| Fields inherited from class edu.harvard.hul.ois.mets.helper.MetsElement |
_attrs, _content, _localName, _namespace, _qName, _schema |
| Constructor Summary | |
MetsHdr()
Instantiate a new MetsHdr object. |
|
| Method Summary | |
java.util.Date |
getCREATEDATE()
Return create date/time. |
java.util.Date |
getLASTMODDATE()
Return last modification date/time. |
java.lang.String |
getRECORDSTATUS()
Return record status. |
void |
read(MetsReader r)
De-serialize the content of the file using the given reader. |
static MetsHdr |
reader(MetsReader r)
Instantiate a MetsHdr object de-serialized from the input stream. |
void |
setCREATEDATE(java.util.Date date)
Set create date/time. |
void |
setLASTMODDATE(java.util.Date date)
Set last modification date/time. |
void |
setRECORDSTATUS(java.lang.String status)
Set record status. |
void |
write(MetsWriter w)
Serialize the content of this element using the given writer. |
| Methods inherited from class edu.harvard.hul.ois.mets.helper.MetsIDElement |
getID, setID |
| Methods inherited from class edu.harvard.hul.ois.mets.helper.MetsVElement |
isValid, validate, validateIDREFs, validateThis, validateThisIDREFs |
| Methods inherited from class edu.harvard.hul.ois.mets.helper.MetsElement |
getContent, getLocalName, getNamespace, getQName, getSchemas, init, setSchema, setSchema, writeSchemas |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MetsHdr()
| Method Detail |
public java.util.Date getCREATEDATE()
public java.util.Date getLASTMODDATE()
public java.lang.String getRECORDSTATUS()
public void setCREATEDATE(java.util.Date date)
date - Date/timepublic void setLASTMODDATE(java.util.Date date)
date - Date/timepublic void setRECORDSTATUS(java.lang.String status)
status - Status
public static MetsHdr reader(MetsReader r)
throws MetsException
r - Reader
MetsException - De-serializing exception
public void read(MetsReader r)
throws MetsException
read in interface MetsSerializableread in class MetsElementr - Reader
MetsException
public void write(MetsWriter w)
throws MetsException
write in interface MetsSerializablewrite in class MetsElementw - Writer
MetsException - I/O exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||