edu.indiana.dlib.metsnav.mets.v1_4
Class FileSec

java.lang.Object
  extended by edu.indiana.dlib.metsnav.mets.v1_4.FileSec
All Implemented Interfaces:
Serializable

public class FileSec
extends Object
implements Serializable

fileSec: Content File Section. The content file section records information regarding all of the data files which comprise the digital library object.

See Also:
Serialized Form

Constructor Summary
FileSec()
           
 
Method Summary
 void addFileGrp(FileGrp vFileGrp)
          Method addFileGrp
 void addFileGrp(int index, FileGrp vFileGrp)
          Method addFileGrp
 void clearFileGrp()
          Method clearFileGrp
 Enumeration enumerateFileGrp()
          Method enumerateFileGrp
 FileGrp[] getFileGrp()
          Method getFileGrp
 FileGrp getFileGrp(int index)
          Method getFileGrp
 int getFileGrpCount()
          Method getFileGrpCount
 String getID()
          Returns the value of field 'ID'.
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 boolean removeFileGrp(FileGrp vFileGrp)
          Method removeFileGrp
 void setFileGrp(FileGrp[] fileGrpArray)
          Method setFileGrp
 void setFileGrp(int index, FileGrp vFileGrp)
          Method setFileGrp
 void setID(String ID)
          Sets the value of field 'ID'.
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

FileSec

public FileSec()
Method Detail

addFileGrp

public void addFileGrp(FileGrp vFileGrp)
                throws IndexOutOfBoundsException
Method addFileGrp

Parameters:
vFileGrp -
Throws:
IndexOutOfBoundsException

addFileGrp

public void addFileGrp(int index,
                       FileGrp vFileGrp)
                throws IndexOutOfBoundsException
Method addFileGrp

Parameters:
index -
vFileGrp -
Throws:
IndexOutOfBoundsException

clearFileGrp

public void clearFileGrp()
Method clearFileGrp


enumerateFileGrp

public Enumeration enumerateFileGrp()
Method enumerateFileGrp

Returns:
Enumeration

getFileGrp

public FileGrp getFileGrp(int index)
                   throws IndexOutOfBoundsException
Method getFileGrp

Parameters:
index -
Returns:
FileGrp
Throws:
IndexOutOfBoundsException

getFileGrp

public FileGrp[] getFileGrp()
Method getFileGrp

Returns:
FileGrp

getFileGrpCount

public int getFileGrpCount()
Method getFileGrpCount

Returns:
int

getID

public String getID()
Returns the value of field 'ID'. The field 'ID' has the following description: ID: an optional XML ID value

Returns:
String

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(Writer out)
             throws MarshalException,
                    ValidationException
Method marshal

Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    MarshalException,
                    ValidationException
Method marshal

Parameters:
handler -
Throws:
IOException
MarshalException
ValidationException

removeFileGrp

public boolean removeFileGrp(FileGrp vFileGrp)
Method removeFileGrp

Parameters:
vFileGrp -
Returns:
boolean

setFileGrp

public void setFileGrp(int index,
                       FileGrp vFileGrp)
                throws IndexOutOfBoundsException
Method setFileGrp

Parameters:
index -
vFileGrp -
Throws:
IndexOutOfBoundsException

setFileGrp

public void setFileGrp(FileGrp[] fileGrpArray)
Method setFileGrp

Parameters:
fileGrpArray -

setID

public void setID(String ID)
Sets the value of field 'ID'. The field 'ID' has the following description: ID: an optional XML ID value

Parameters:
ID - the value of field 'ID'.

unmarshal

public static Object unmarshal(Reader reader)
                        throws MarshalException,
                               ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Throws:
ValidationException


Copyright © 2005 Trustees of Indiana University. All Rights Reserved.