org.mydm.db
Class DocReader

java.lang.Object
  extended byorg.mydm.db.DocReader

public class DocReader
extends java.lang.Object

This Class reads the Document Content and gives the array of elements.


Constructor Summary
DocReader(java.lang.String content)
          Constructer
 
Method Summary
 java.lang.String[] getRecArray()
           
 java.util.HashMap getRecHash()
          Returns the doc metadata as a hashmap object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocReader

public DocReader(java.lang.String content)
Constructer

Parameters:
content - content of a document, ofcourse in XML
Method Detail

getRecArray

public java.lang.String[] getRecArray()
Returns:
returns the array of docelements accoring to the Metadata

getRecHash

public java.util.HashMap getRecHash()
Returns the doc metadata as a hashmap object.

Returns:
returns the hashmap of md of doc.