edu.vt.marian.common
Interface AnalyzableDigInfObj

All Known Subinterfaces:
Document

public abstract interface AnalyzableDigInfObj
extends DigInfObj

An Analyzable Digital Information Object is a DigInfObj with important aspects that can be presented as attribute-value pairs. Any DigInfObj with associated metadata, for instance, fills this bill.

This interface consists solely of a presentAttributes() method. presentAttributes() returns a set of attribute-value pairs for use in explicating the object to a user, e.g. with an Envision visualization. Each object in the Vector returned is itself a two-element Vector made up of first the name of the attribute as a String and second the value as an Object. All objects in any class implementing this interface should return the same class of Objects for any given attribute. We then expect clients to use 'instanceof' to determine whether those values are (e.g.) Integers, Doubles or Strings.


Fields inherited from class edu.vt.marian.common.DigInfObj
ANSEL, ASCII, HTML, SGML, XML
 
Method Summary
 java.util.Vector presentAttributes(int markupType)
           
 
Methods inherited from interface edu.vt.marian.common.DigInfObj
copy, isValid, presentShort
 

Method Detail

presentAttributes

public java.util.Vector presentAttributes(int markupType)