maito.datacollecting.dcxml
Class OAICiteseerRecordConstructor

java.lang.Object
  extended by maito.datacollecting.dcxml.OAICiteseerRecordConstructor
All Implemented Interfaces:
RecordConstructor

public class OAICiteseerRecordConstructor
extends java.lang.Object
implements RecordConstructor

Constructs a Record object from a valid XML String that specifies a record in oai_citeseer XML format (including DC 2.0 simple elements and qualified extensions plus oai_citeseer specific elements specified in the specifications document )

Version:
1.0
Author:
Väinö Ala-Härkönen 16.11.2005 This software is released under the GNU GPL license

Constructor Summary
OAICiteseerRecordConstructor()
           
 
Method Summary
 Record constructRecord(java.lang.String data)
          Constructs a record from the data string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAICiteseerRecordConstructor

public OAICiteseerRecordConstructor()
Method Detail

constructRecord

public Record constructRecord(java.lang.String data)
                       throws java.lang.IllegalArgumentException
Constructs a record from the data string. The string must be a string representation of a valid XML document. Root tag should be "record"

Specified by:
constructRecord in interface RecordConstructor
Parameters:
data - The data the Record should be constructed from
Returns:
A Record ready for transformation
Throws:
java.lang.IllegalArgumentException