|
||||||||||
| 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.Behavior
This class encapsulates the <behavior> 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 | |
Behavior()
Instantiate a new behavior object. |
|
| Method Summary | |
java.util.Map |
getADMID()
Return map of IDREFS to amdSecs. |
java.lang.String |
getBTYPE()
Return behavior type. |
java.util.Date |
getCREATED()
Return creation date/time of this behavior. |
java.lang.String |
getGROUPID()
Return behavior group ID. |
java.lang.String |
getLABEL()
Return behavior label. |
java.util.Map |
getSTRUCTID()
Return map of IDREFS to structMap and divs. |
void |
read(MetsReader r)
De-serialize the content of the file into this element using the given reader. |
static Behavior |
reader(MetsReader r)
Instantiate a Behavior object de-serialized from the input stream. |
void |
setADMID(java.lang.String ADMID)
Set ADMID of AmdSec element. |
void |
setADMID(java.lang.String ADMID,
MetsIDElement elem)
Set ADMID of AmdSec element, with referenced element. |
void |
setBTYPE(java.lang.String type)
Set behavior type. |
void |
setCREATED(java.util.Date date)
Set creation date/time of this behavior. |
void |
setGROUPID(java.lang.String id)
Set behavior group ID. |
void |
setLABEL(java.lang.String label)
Set behavior label. |
void |
setSTRUCTID(java.lang.String STRUCTID)
Set STRUCTID of StructMap. |
void |
setSTRUCTID(java.lang.String STRUCTID,
MetsIDElement elem)
Set STRUCTID of StructMap element, with referenced element. |
void |
validateThis(MetsValidator v)
Validate this element and its content model using the given validator. |
void |
validateThisIDREFs(MetsValidator v)
Validate ID/IDREF consistency using the given validator. |
void |
write(MetsWriter w)
Serialize this element and its content model 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 |
| 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 Behavior()
| Method Detail |
public java.util.Map getADMID()
public java.lang.String getBTYPE()
public java.util.Map getSTRUCTID()
public java.util.Date getCREATED()
public java.lang.String getGROUPID()
public java.lang.String getLABEL()
public void setADMID(java.lang.String ADMID)
ADMID - Element IDREF
public void setADMID(java.lang.String ADMID,
MetsIDElement elem)
ADMID - Element IDREFelem - Element (or NULL)public void setBTYPE(java.lang.String type)
type - Typepublic void setCREATED(java.util.Date date)
date - Date/timepublic void setGROUPID(java.lang.String id)
id - Group IDpublic void setLABEL(java.lang.String label)
label - Labelpublic void setSTRUCTID(java.lang.String STRUCTID)
STRUCTID - StructMap IDREF
public void setSTRUCTID(java.lang.String STRUCTID,
MetsIDElement elem)
STRUCTID - StructMap element IDREFelem - Element (or NULL)
public static Behavior 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
public void validateThis(MetsValidator v)
throws MetsException
validateThis in interface MetsValidatablevalidateThis in class MetsVElementv - Validator
MetsException - Validation exception
public void validateThisIDREFs(MetsValidator v)
throws MetsException
validateThisIDREFs in class MetsVElementv - Validator
MetsException - Validation exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||