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

java.lang.Object
  extended by edu.indiana.dlib.metsnav.mets.v1_4.BehaviorSecType
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BehaviorSec

public class BehaviorSecType
extends Object
implements Serializable

behaviorSecType: Behaviors Section. Behaviors are executable code which can be associated with parts of a METS object. The behaviorSec element is used to group individual behaviors within a hierarchical structure. Such grouping can be useful to organize families of behaviors together or to indicate other relationships between particular behaviors.

See Also:
Serialized Form

Constructor Summary
BehaviorSecType()
           
 
Method Summary
 void addBehavior(Behavior vBehavior)
          Method addBehavior
 void addBehavior(int index, Behavior vBehavior)
          Method addBehavior
 void addBehaviorSec(BehaviorSec vBehaviorSec)
          Method addBehaviorSec
 void addBehaviorSec(int index, BehaviorSec vBehaviorSec)
          Method addBehaviorSec
 void clearBehavior()
          Method clearBehavior
 void clearBehaviorSec()
          Method clearBehaviorSec
 Enumeration enumerateBehavior()
          Method enumerateBehavior
 Enumeration enumerateBehaviorSec()
          Method enumerateBehaviorSec
 Behavior[] getBehavior()
          Method getBehavior
 Behavior getBehavior(int index)
          Method getBehavior
 int getBehaviorCount()
          Method getBehaviorCount
 BehaviorSec[] getBehaviorSec()
          Method getBehaviorSec
 BehaviorSec getBehaviorSec(int index)
          Method getBehaviorSec
 int getBehaviorSecCount()
          Method getBehaviorSecCount
 Date getCREATED()
          Returns the value of field 'CREATED'.
 String getID()
          Returns the value of field 'ID'.
 String getLABEL()
          Returns the value of field 'LABEL'.
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 boolean removeBehavior(Behavior vBehavior)
          Method removeBehavior
 boolean removeBehaviorSec(BehaviorSec vBehaviorSec)
          Method removeBehaviorSec
 void setBehavior(Behavior[] behaviorArray)
          Method setBehavior
 void setBehavior(int index, Behavior vBehavior)
          Method setBehavior
 void setBehaviorSec(BehaviorSec[] behaviorSecArray)
          Method setBehaviorSec
 void setBehaviorSec(int index, BehaviorSec vBehaviorSec)
          Method setBehaviorSec
 void setCREATED(Date CREATED)
          Sets the value of field 'CREATED'.
 void setID(String ID)
          Sets the value of field 'ID'.
 void setLABEL(String LABEL)
          Sets the value of field 'LABEL'.
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

BehaviorSecType

public BehaviorSecType()
Method Detail

addBehavior

public void addBehavior(Behavior vBehavior)
                 throws IndexOutOfBoundsException
Method addBehavior

Parameters:
vBehavior -
Throws:
IndexOutOfBoundsException

addBehavior

public void addBehavior(int index,
                        Behavior vBehavior)
                 throws IndexOutOfBoundsException
Method addBehavior

Parameters:
index -
vBehavior -
Throws:
IndexOutOfBoundsException

addBehaviorSec

public void addBehaviorSec(BehaviorSec vBehaviorSec)
                    throws IndexOutOfBoundsException
Method addBehaviorSec

Parameters:
vBehaviorSec -
Throws:
IndexOutOfBoundsException

addBehaviorSec

public void addBehaviorSec(int index,
                           BehaviorSec vBehaviorSec)
                    throws IndexOutOfBoundsException
Method addBehaviorSec

Parameters:
index -
vBehaviorSec -
Throws:
IndexOutOfBoundsException

clearBehavior

public void clearBehavior()
Method clearBehavior


clearBehaviorSec

public void clearBehaviorSec()
Method clearBehaviorSec


enumerateBehavior

public Enumeration enumerateBehavior()
Method enumerateBehavior

Returns:
Enumeration

enumerateBehaviorSec

public Enumeration enumerateBehaviorSec()
Method enumerateBehaviorSec

Returns:
Enumeration

getBehavior

public Behavior getBehavior(int index)
                     throws IndexOutOfBoundsException
Method getBehavior

Parameters:
index -
Returns:
Behavior
Throws:
IndexOutOfBoundsException

getBehavior

public Behavior[] getBehavior()
Method getBehavior

Returns:
Behavior

getBehaviorCount

public int getBehaviorCount()
Method getBehaviorCount

Returns:
int

getBehaviorSec

public BehaviorSec getBehaviorSec(int index)
                           throws IndexOutOfBoundsException
Method getBehaviorSec

Parameters:
index -
Returns:
BehaviorSec
Throws:
IndexOutOfBoundsException

getBehaviorSec

public BehaviorSec[] getBehaviorSec()
Method getBehaviorSec

Returns:
BehaviorSec

getBehaviorSecCount

public int getBehaviorSecCount()
Method getBehaviorSecCount

Returns:
int

getCREATED

public Date getCREATED()
Returns the value of field 'CREATED'. The field 'CREATED' has the following description: CREATED: an optional dateTime attribute specifying when the behaviorSec was created.

Returns:
Date

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

getLABEL

public String getLABEL()
Returns the value of field 'LABEL'. The field 'LABEL' has the following description: LABEL: an optional string attribute providing a text description of the behaviorSec.

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

removeBehavior

public boolean removeBehavior(Behavior vBehavior)
Method removeBehavior

Parameters:
vBehavior -
Returns:
boolean

removeBehaviorSec

public boolean removeBehaviorSec(BehaviorSec vBehaviorSec)
Method removeBehaviorSec

Parameters:
vBehaviorSec -
Returns:
boolean

setBehavior

public void setBehavior(int index,
                        Behavior vBehavior)
                 throws IndexOutOfBoundsException
Method setBehavior

Parameters:
index -
vBehavior -
Throws:
IndexOutOfBoundsException

setBehavior

public void setBehavior(Behavior[] behaviorArray)
Method setBehavior

Parameters:
behaviorArray -

setBehaviorSec

public void setBehaviorSec(int index,
                           BehaviorSec vBehaviorSec)
                    throws IndexOutOfBoundsException
Method setBehaviorSec

Parameters:
index -
vBehaviorSec -
Throws:
IndexOutOfBoundsException

setBehaviorSec

public void setBehaviorSec(BehaviorSec[] behaviorSecArray)
Method setBehaviorSec

Parameters:
behaviorSecArray -

setCREATED

public void setCREATED(Date CREATED)
Sets the value of field 'CREATED'. The field 'CREATED' has the following description: CREATED: an optional dateTime attribute specifying when the behaviorSec was created.

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

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'.

setLABEL

public void setLABEL(String LABEL)
Sets the value of field 'LABEL'. The field 'LABEL' has the following description: LABEL: an optional string attribute providing a text description of the behaviorSec.

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

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.