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

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

public class InterfaceDef
extends ObjectType
implements Serializable

interfaceDef: interface definition object. The interface definition element contains a pointer an abstract definition of a set of related behaviors. These abstract behaviors can be associated with the content of a METS object. The interface definition element will be a pointer to another object (an interface definition object). An interface definition object could be another METS object, or some other entity (e.g., a WSDL file). Ideally, an interface definition object should contain metadata that describes a set of behaviors or methods. It may also contain files that describe the intended usage of the behaviors, and possibly files that represent different expressions of the interface definition. The interfaceDef element is optional to allow for cases where an interface definition can be obtained from a behavior mechanism object (see the mechanism element of the behaviorSec).

See Also:
Serialized Form

Constructor Summary
InterfaceDef()
           
 
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

InterfaceDef

public InterfaceDef()
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.