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

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

public class Mechanism
extends ObjectType
implements Serializable

mechanism: executable mechanism. A mechanism element contains a pointer to an executable code module that implements a set of behaviors defined by an interface definition. The mechanism element will be a pointer to another object (a mechanism object). A mechanism object could be another METS object, or some other entity (e.g., a WSDL file). A mechanism object should contain executable code, pointers to executable code, or specifications for binding to network services (e.g., web services).

See Also:
Serialized Form

Constructor Summary
Mechanism()
           
 
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_4.ObjectType
getActuate, getArcrole, getHref, getID, getLABEL, getLOCTYPE, getOTHERLOCTYPE, getRole, getShow, getTitle, getType, setActuate, setArcrole, setHref, setID, setLABEL, setLOCTYPE, setOTHERLOCTYPE, setRole, setShow, setTitle, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mechanism

public Mechanism()
Method Detail

isValid

public boolean isValid()
Method isValid

Overrides:
isValid in class ObjectType
Returns:
boolean

marshal

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

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

marshal

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

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


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