All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class edu.vt.marian.Document.OAMSDocument

java.lang.Object
   |
   +----edu.vt.marian.Document.OAMSDocument

public class OAMSDocument
extends Object
implements Document
A set of data encapsulated in a SOIF


Variable Index

 o Abstract
 o author
 o displayID
 o fullID
 o organization
 o subject
 o title
Allows us to pull things out of the property list in the order they were inserted.

Constructor Index

 o OAMSDocument(Debug)
Build a new SOIF object
 o OAMSDocument(String, Debug)
Build a new SOIF object from an input stream

Method Index

 o attributes()
 o attributes(int)
 o copy()
 o isValid()
 o ParseOAMSBody()
Parse the body of the SOIF extracting the attribute/value pairs
 o presentAttribute(int, int)
 o presentAttributes(int)
 o presentFull(int)
 o presentFull(int, BufferedWriter)
 o presentLong(int)
 o presentLong(int, BufferedWriter)
 o presentShort(int)
Return a short description (probably only one sentence) of the document this represents.
 o presentShort(int, BufferedWriter)

Variables

 o title
 public String title
Allows us to pull things out of the property list in the order they were inserted.

 o fullID
 public String fullID
 o author
 public String author
 o organization
 public String organization
 o Abstract
 public String Abstract
 o subject
 public String subject
 o displayID
 public String displayID

Constructors

 o OAMSDocument
 public OAMSDocument(Debug debug)
Build a new SOIF object

 o OAMSDocument
 public OAMSDocument(String OAMSInput,
                     Debug debug)
Build a new SOIF object from an input stream

Parameters:
soifInput - input stream from which the SOIF should be built.

Methods

 o ParseOAMSBody
 public void ParseOAMSBody()
Parse the body of the SOIF extracting the attribute/value pairs

Parameters:
body - the body to parse
 o presentShort
 public String presentShort(int markupType)
Return a short description (probably only one sentence) of the document this represents.

Parameters:
markupType - -- specifies the charater set type need to be returned
Returns:
the short description of this object as a string
 o presentShort
 public int presentShort(int markupType,
                         BufferedWriter out) throws IOException
 o presentLong
 public String presentLong(int markupType)
 o presentLong
 public int presentLong(int markupType,
                        BufferedWriter out) throws IOException
 o isValid
 public boolean isValid()
 o copy
 public DigInfObj copy()
 o presentFull
 public String presentFull(int markupType)
 o attributes
 public Vector attributes()
 o attributes
 public Vector attributes(int markupType)
 o presentAttributes
 public Vector presentAttributes(int markupType)
 o presentAttribute
 public Object presentAttribute(int attrID,
                                int markupType)
 o presentFull
 public int presentFull(int markupType,
                        BufferedWriter out) throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index