|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmaito.datacollecting.dcxml.DCXMLRecordConstructWorker
public class DCXMLRecordConstructWorker
Constructs a Record object from a valid XML String that specifies a record in either Dublin Core 2.0 XML or oai_citeseer format (see the integer constants in this class). Does the "real work" for both OAICiteseerRecordConstructor and DCXMLRecordConstructor.
Field Summary | |
---|---|
static int |
RECORD_CITESEER
The Record is in oai_citeseer format |
static int |
RECORD_DCXML
The Record is in Dublin Core 2.0 XML format |
Constructor Summary | |
---|---|
DCXMLRecordConstructWorker()
|
Method Summary | |
---|---|
protected Record |
constructRecord(java.lang.String data,
int recordFormat)
Constructs a record from the data string. |
void |
error(org.xml.sax.SAXParseException exception)
|
void |
fatalError(org.xml.sax.SAXParseException exception)
|
protected boolean |
testNamespaceImpl()
This method is needed to reach and test the inner class. |
void |
warning(org.xml.sax.SAXParseException exception)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int RECORD_DCXML
public static final int RECORD_CITESEER
Constructor Detail |
---|
public DCXMLRecordConstructWorker()
Method Detail |
---|
protected Record constructRecord(java.lang.String data, int recordFormat) throws java.lang.IllegalArgumentException
data
- The data the Record should be constructed fromrecordFormat
- Format of the record to be processed. See integer constants in this class.
java.lang.IllegalArgumentException
public void error(org.xml.sax.SAXParseException exception)
error
in interface org.xml.sax.ErrorHandler
public void fatalError(org.xml.sax.SAXParseException exception)
fatalError
in interface org.xml.sax.ErrorHandler
public void warning(org.xml.sax.SAXParseException exception)
warning
in interface org.xml.sax.ErrorHandler
protected boolean testNamespaceImpl()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |