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.
presentAttributes
public java.util.Vector presentAttributes(int markupType)