deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.record.persistence.genericrecordstore.generating
Class BuildRecordXMLRepresentation

java.lang.Object
  extended by org.deegree.record.persistence.genericrecordstore.generating.BuildRecordXMLRepresentation

public class BuildRecordXMLRepresentation
extends Object

Here is the handling of generating and inserting the ISO and DC application profile record as well as the update of these records.

Version:
$Revision: $, $Date: $
Author:
Steffen Thomas, last edited by: $Author: thomas $

Constructor Summary
BuildRecordXMLRepresentation()
           
 
Method Summary
 int generateDC(Connection connection, Statement stm, int operatesOnId, ParsedProfileElement parsedElement)
          Generates the Dublin Core representation in brief, summary and full for this dataset.
 int generateISO(Connection connection, Statement stm, int operatesOnId, ParsedProfileElement parsedElement)
          Generates the ISO representation in brief, summary and full for this dataset.
 int updateRecord(int fk_datasets, ParsedProfileElement parsedElement, Statement stm)
          Updating the XML representation of a record in DC and ISO.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildRecordXMLRepresentation

public BuildRecordXMLRepresentation()
Method Detail

updateRecord

public int updateRecord(int fk_datasets,
                        ParsedProfileElement parsedElement,
                        Statement stm)
                 throws IOException
Updating the XML representation of a record in DC and ISO.

Parameters:
fk_datasets - which record dataset should be updated
parsedElement -
stm -
Returns:
an integer that indicates if there is a record updated
Throws:
IOException

generateISO

public int generateISO(Connection connection,
                       Statement stm,
                       int operatesOnId,
                       ParsedProfileElement parsedElement)
                throws IOException
Generates the ISO representation in brief, summary and full for this dataset.

Parameters:
connection -
stm -
operatesOnId -
parsedElement -
Returns:
an integer that is the primarykey from the inserted record
Throws:
IOException

generateDC

public int generateDC(Connection connection,
                      Statement stm,
                      int operatesOnId,
                      ParsedProfileElement parsedElement)
Generates the Dublin Core representation in brief, summary and full for this dataset.

Parameters:
connection -
stm -
operatesOnId -
parsedElement -
Returns:
an integer that is the primarykey from the inserted record

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>