|
||||||||||
| 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.Fptr
This class encapsulates the <fptr> 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 | |
Fptr()
Instantiate a new <fptr> object. |
|
| Method Summary | |
java.util.List |
getCONTENTIDS()
Return list of CONTENTIDS. |
java.util.Map |
getFILEID()
Return map of IDREF to File. |
void |
read(MetsReader r)
De-serialize the content of the file into this element using the given reader. |
static Fptr |
reader(MetsReader r)
Instantiate a Fptr object de-serialized from the input stream. |
void |
setCONTENTIDS(java.lang.String CONTENTIDS)
Set CONTENTIDS. |
void |
setFILEID(java.lang.String FILEID)
Set IDREF of File. |
void |
setFILEID(java.lang.String FILEID,
File file)
Set IDREF of File, with referenced element. |
void |
validateThisIDREFs(MetsValidator v)
Validate ID/IDREF consistency 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, validateThis |
| 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 Fptr()
| Method Detail |
public java.util.List getCONTENTIDS()
public java.util.Map getFILEID()
public void setCONTENTIDS(java.lang.String CONTENTIDS)
CONTENTIDS - public void setFILEID(java.lang.String FILEID)
FILEID - File IDREF
public void setFILEID(java.lang.String FILEID,
File file)
FILEID - File IDREFfile - File element (or NULL)
public static Fptr 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 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 | |||||||||