edu.indiana.dlib.metsnav.mets.v1_5
Class Div

java.lang.Object
  extended by edu.indiana.dlib.metsnav.mets.v1_5.DivType
      extended by edu.indiana.dlib.metsnav.mets.v1_5.Div
All Implemented Interfaces:
Serializable

public class Div
extends DivType
implements Serializable

div: Division. The METS standard represents a document structurally as a series of nested div elements, that is, as a hierarchy (e.g., a book, which is composed of chapters, which are composed of subchapters, which are composed of text). Every div node in the structural map hierarchy may be connected (via subsidiary mptr or fptr elements) to content files which represent that div's portion of the whole document.

See Also:
Serialized Form

Constructor Summary
Div()
           
 
Method Summary
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
static Object unmarshal(Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class edu.indiana.dlib.metsnav.mets.v1_5.DivType
addADMID, addADMID, addCONTENTIDS, addCONTENTIDS, addDiv, addDiv, addDMDID, addDMDID, addFptr, addFptr, addMptr, addMptr, clearADMID, clearCONTENTIDS, clearDiv, clearDMDID, clearFptr, clearMptr, deleteORDER, enumerateADMID, enumerateCONTENTIDS, enumerateDiv, enumerateDMDID, enumerateFptr, enumerateMptr, getADMID, getADMID, getADMIDCount, getCONTENTIDS, getCONTENTIDS, getCONTENTIDSCount, getDiv, getDiv, getDivCount, getDMDID, getDMDID, getDMDIDCount, getFptr, getFptr, getFptrCount, getID, getLabel, getLABEL, getMptr, getMptr, getMptrCount, getORDER, getORDERLABEL, getTYPE, hasORDER, removeADMID, removeCONTENTIDS, removeDiv, removeDMDID, removeFptr, removeMptr, setADMID, setADMID, setCONTENTIDS, setCONTENTIDS, setDiv, setDiv, setDMDID, setDMDID, setFptr, setFptr, setID, setLabel, setLABEL, setMptr, setMptr, setORDER, setORDERLABEL, setTYPE
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Div

public Div()
Method Detail

isValid

public boolean isValid()
Method isValid

Overrides:
isValid in class DivType
Returns:
boolean

marshal

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

Overrides:
marshal in class DivType
Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

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

Overrides:
marshal in class DivType
Parameters:
handler -
Throws:
IOException
MarshalException
ValidationException

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

Overrides:
validate in class DivType
Throws:
ValidationException


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