|
||||||||||
| 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.Mptr
This class encapsulates the <mptr> 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 | |
Mptr()
Instantiate a new <mptr> object. |
|
| Method Summary | |
java.util.List |
getCONTENTIDS()
Return list of CONTENTIDS. |
Loctype |
getLOCTYPE()
Return pre-defined locator type. |
java.lang.String |
getOTHERLOCTYPE()
Return other locator type. |
Actuate |
getXlinkActuate()
Return pre-defined XLink actuate attribute. |
java.lang.String |
getXlinkArcrole()
Return XLink arcrole attribute. |
java.lang.String |
getXlinkHref()
Return XLink href attribute. |
java.lang.String |
getXlinkRole()
Return XLink role attribute. |
Show |
getXlinkShow()
Return pre-defined XLink show attribute. |
java.lang.String |
getXlinkTitle()
Return XLink title attribute. |
void |
read(MetsReader r)
De-serialize the content of the file into this element using the given reader |
static Mptr |
reader(MetsReader r)
Instantiate a Mptr object de-serialized from the input stream. |
void |
setCONTENTIDS(java.lang.String CONTENTIDS)
Set CONTENTIDS. |
void |
setLOCTYPE(Loctype LOCTYPE)
Set pre-defined locator type. |
void |
setOTHERLOCTYPE(java.lang.String OTHERLOCTYPE)
Set other locator type. |
void |
setXlinkActuate(Actuate actuate)
Set pre-defined Xlink actuate behavior. |
void |
setXlinkArcrole(java.lang.String arcrole)
Set Xlink arcrole attribute. |
void |
setXlinkHref(java.lang.String href)
Set Xlink href attribute. |
void |
setXlinkRole(java.lang.String role)
Set Xlink role attribute. |
void |
setXlinkShow(Show show)
Set pre-defined Xlink show behavior. |
void |
setXlinkTitle(java.lang.String title)
Set Xlink title attribute |
void |
validateThis(MetsValidator v)
Validate this element using the given validator. |
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, 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 Mptr()
| Method Detail |
public java.util.List getCONTENTIDS()
public Loctype getLOCTYPE()
public java.lang.String getOTHERLOCTYPE()
public Actuate getXlinkActuate()
public java.lang.String getXlinkArcrole()
public java.lang.String getXlinkHref()
public java.lang.String getXlinkRole()
public Show getXlinkShow()
public java.lang.String getXlinkTitle()
public void setCONTENTIDS(java.lang.String CONTENTIDS)
CONTENTIDS - public void setLOCTYPE(Loctype LOCTYPE)
LOCTYPE - Pre-defined typepublic void setOTHERLOCTYPE(java.lang.String OTHERLOCTYPE)
OTHERLOCTYPE - Other typepublic void setXlinkActuate(Actuate actuate)
actuate - Actuate behaviorpublic void setXlinkArcrole(java.lang.String arcrole)
arcrole - Arcrolepublic void setXlinkHref(java.lang.String href)
href - Hrefpublic void setXlinkRole(java.lang.String role)
role - Rolepublic void setXlinkShow(Show show)
show - Show behaviorpublic void setXlinkTitle(java.lang.String title)
title - Title
public static Mptr 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||