|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.indiana.dlib.metsnav.mets.v1_4.File
public class File
file: File element. The file element provides access to content files for a METS object. A file element may contain one or more FLocat elements, which provide pointers to a content file, and/or an FContent element, which wraps an encoded version of the file. Note that ALL FLocat and FContent elements underneath a single file element should identify/contain identical copies of a single file.
Constructor Summary | |
---|---|
File()
|
Method Summary | |
---|---|
void |
addADMID(int index,
Object vADMID)
Method addADMID |
void |
addADMID(Object vADMID)
Method addADMID |
void |
addDMDID(int index,
Object vDMDID)
Method addDMDID |
void |
addDMDID(Object vDMDID)
Method addDMDID |
void |
addFLocat(FLocat vFLocat)
Method addFLocat |
void |
addFLocat(int index,
FLocat vFLocat)
Method addFLocat |
void |
clearADMID()
Method clearADMID |
void |
clearDMDID()
Method clearDMDID |
void |
clearFLocat()
Method clearFLocat |
void |
deleteSEQ()
Method deleteSEQ |
void |
deleteSIZE()
Method deleteSIZE |
Enumeration |
enumerateADMID()
Method enumerateADMID |
Enumeration |
enumerateDMDID()
Method enumerateDMDID |
Enumeration |
enumerateFLocat()
Method enumerateFLocat |
Object[] |
getADMID()
Method getADMID |
Object |
getADMID(int index)
Method getADMID |
int |
getADMIDCount()
Method getADMIDCount |
String |
getCHECKSUM()
Returns the value of field 'CHECKSUM'. |
FileCHECKSUMTYPEType |
getCHECKSUMTYPE()
Returns the value of field 'CHECKSUMTYPE'. |
Date |
getCREATED()
Returns the value of field 'CREATED'. |
Object[] |
getDMDID()
Method getDMDID |
Object |
getDMDID(int index)
Method getDMDID |
int |
getDMDIDCount()
Method getDMDIDCount |
FContent |
getFContent()
Returns the value of field 'FContent'. |
FLocat[] |
getFLocat()
Method getFLocat |
FLocat |
getFLocat(int index)
Method getFLocat |
int |
getFLocatCount()
Method getFLocatCount |
String |
getGROUPID()
Returns the value of field 'GROUPID'. |
String |
getID()
Returns the value of field 'ID'. |
String |
getMIMETYPE()
Returns the value of field 'MIMETYPE'. |
String |
getOWNERID()
Returns the value of field 'OWNERID'. |
int |
getSEQ()
Returns the value of field 'SEQ'. |
long |
getSIZE()
Returns the value of field 'SIZE'. |
String |
getUSE()
Returns the value of field 'USE'. |
boolean |
hasSEQ()
Method hasSEQ |
boolean |
hasSIZE()
Method hasSIZE |
boolean |
isValid()
Method isValid |
void |
marshal(ContentHandler handler)
Method marshal |
void |
marshal(Writer out)
Method marshal |
boolean |
removeADMID(Object vADMID)
Method removeADMID |
boolean |
removeDMDID(Object vDMDID)
Method removeDMDID |
boolean |
removeFLocat(FLocat vFLocat)
Method removeFLocat |
void |
setADMID(int index,
Object vADMID)
Method setADMID |
void |
setADMID(Object[] ADMIDArray)
Method setADMID |
void |
setCHECKSUM(String CHECKSUM)
Sets the value of field 'CHECKSUM'. |
void |
setCHECKSUMTYPE(FileCHECKSUMTYPEType CHECKSUMTYPE)
Sets the value of field 'CHECKSUMTYPE'. |
void |
setCREATED(Date CREATED)
Sets the value of field 'CREATED'. |
void |
setDMDID(int index,
Object vDMDID)
Method setDMDID |
void |
setDMDID(Object[] DMDIDArray)
Method setDMDID |
void |
setFContent(FContent FContent)
Sets the value of field 'FContent'. |
void |
setFLocat(FLocat[] FLocatArray)
Method setFLocat |
void |
setFLocat(int index,
FLocat vFLocat)
Method setFLocat |
void |
setGROUPID(String GROUPID)
Sets the value of field 'GROUPID'. |
void |
setID(String ID)
Sets the value of field 'ID'. |
void |
setMIMETYPE(String MIMETYPE)
Sets the value of field 'MIMETYPE'. |
void |
setOWNERID(String OWNERID)
Sets the value of field 'OWNERID'. |
void |
setSEQ(int SEQ)
Sets the value of field 'SEQ'. |
void |
setSIZE(long SIZE)
Sets the value of field 'SIZE'. |
void |
setUSE(String USE)
Sets the value of field 'USE'. |
static Object |
unmarshal(Reader reader)
Method unmarshal |
void |
validate()
Method validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public File()
Method Detail |
---|
public void addADMID(Object vADMID) throws IndexOutOfBoundsException
vADMID
-
IndexOutOfBoundsException
public void addADMID(int index, Object vADMID) throws IndexOutOfBoundsException
index
- vADMID
-
IndexOutOfBoundsException
public void addDMDID(Object vDMDID) throws IndexOutOfBoundsException
vDMDID
-
IndexOutOfBoundsException
public void addDMDID(int index, Object vDMDID) throws IndexOutOfBoundsException
index
- vDMDID
-
IndexOutOfBoundsException
public void addFLocat(FLocat vFLocat) throws IndexOutOfBoundsException
vFLocat
-
IndexOutOfBoundsException
public void addFLocat(int index, FLocat vFLocat) throws IndexOutOfBoundsException
index
- vFLocat
-
IndexOutOfBoundsException
public void clearADMID()
public void clearDMDID()
public void clearFLocat()
public void deleteSEQ()
public void deleteSIZE()
public Enumeration enumerateADMID()
public Enumeration enumerateDMDID()
public Enumeration enumerateFLocat()
public Object getADMID(int index) throws IndexOutOfBoundsException
index
-
IndexOutOfBoundsException
public Object[] getADMID()
public int getADMIDCount()
public String getCHECKSUM()
public FileCHECKSUMTYPEType getCHECKSUMTYPE()
public Date getCREATED()
public Object getDMDID(int index) throws IndexOutOfBoundsException
index
-
IndexOutOfBoundsException
public Object[] getDMDID()
public int getDMDIDCount()
public FContent getFContent()
public FLocat getFLocat(int index) throws IndexOutOfBoundsException
index
-
IndexOutOfBoundsException
public FLocat[] getFLocat()
public int getFLocatCount()
public String getGROUPID()
public String getID()
public String getMIMETYPE()
public String getOWNERID()
public int getSEQ()
public long getSIZE()
public String getUSE()
public boolean hasSEQ()
public boolean hasSIZE()
public boolean isValid()
public void marshal(Writer out) throws MarshalException, ValidationException
out
-
MarshalException
ValidationException
public void marshal(ContentHandler handler) throws IOException, MarshalException, ValidationException
handler
-
IOException
MarshalException
ValidationException
public boolean removeADMID(Object vADMID)
vADMID
-
public boolean removeDMDID(Object vDMDID)
vDMDID
-
public boolean removeFLocat(FLocat vFLocat)
vFLocat
-
public void setADMID(int index, Object vADMID) throws IndexOutOfBoundsException
index
- vADMID
-
IndexOutOfBoundsException
public void setADMID(Object[] ADMIDArray)
ADMIDArray
- public void setCHECKSUM(String CHECKSUM)
CHECKSUM
- the value of field 'CHECKSUM'.public void setCHECKSUMTYPE(FileCHECKSUMTYPEType CHECKSUMTYPE)
CHECKSUMTYPE
- the value of field 'CHECKSUMTYPE'.public void setCREATED(Date CREATED)
CREATED
- the value of field 'CREATED'.public void setDMDID(int index, Object vDMDID) throws IndexOutOfBoundsException
index
- vDMDID
-
IndexOutOfBoundsException
public void setDMDID(Object[] DMDIDArray)
DMDIDArray
- public void setFContent(FContent FContent)
FContent
- the value of field 'FContent'.public void setFLocat(int index, FLocat vFLocat) throws IndexOutOfBoundsException
index
- vFLocat
-
IndexOutOfBoundsException
public void setFLocat(FLocat[] FLocatArray)
FLocatArray
- public void setGROUPID(String GROUPID)
GROUPID
- the value of field 'GROUPID'.public void setID(String ID)
ID
- the value of field 'ID'.public void setMIMETYPE(String MIMETYPE)
MIMETYPE
- the value of field 'MIMETYPE'.public void setOWNERID(String OWNERID)
OWNERID
- the value of field 'OWNERID'.public void setSEQ(int SEQ)
SEQ
- the value of field 'SEQ'.public void setSIZE(long SIZE)
SIZE
- the value of field 'SIZE'.public void setUSE(String USE)
USE
- the value of field 'USE'.public static Object unmarshal(Reader reader) throws MarshalException, ValidationException
reader
-
MarshalException
ValidationException
public void validate() throws ValidationException
ValidationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |