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

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

public class StructMap
extends StructMapType
implements Serializable

structMap: Structural Map. The structural map is the heart of a METS document, defining the hierarchical arrangement of a primary source document which has been digitized. This hierarchy is encoded as a tree of 'div' elements. Any given 'div' can point to another METS document via the 'mptr' element, or to a single file, to a group of files, or to segments of individual files or groups of files through the 'fptr' and subsidiary elements.

See Also:
Serialized Form

Constructor Summary
StructMap()
           
 
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.StructMapType
getDiv, getID, getLABEL, getTYPE, setDiv, setID, setLABEL, setTYPE
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructMap

public StructMap()
Method Detail

isValid

public boolean isValid()
Method isValid

Overrides:
isValid in class StructMapType
Returns:
boolean

marshal

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

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

marshal

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

Overrides:
marshal in class StructMapType
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 StructMapType
Throws:
ValidationException


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