com.ebmwebsourcing.petalsview.service.dataloader
Class ViewDatasetHandler

java.lang.Object
  extended by com.ebmwebsourcing.petalsview.service.dataloader.ViewDatasetHandler

public class ViewDatasetHandler
extends java.lang.Object


Method Summary
 Dataset convertStreamSource2ViewDataset(javax.xml.transform.Source datasetStream)
          Build the Java bindings from the Petals View dataset in XML form.
static ViewDatasetHandler getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

convertStreamSource2ViewDataset

public Dataset convertStreamSource2ViewDataset(javax.xml.transform.Source datasetStream)
                                        throws DataLoaderException
Build the Java bindings from the Petals View dataset in XML form. The validation against the dataset schema is processed during the transformation.

Parameters:
datasetStream - The Petals View dataset in XML form
Returns:
The root object of the dataset
Throws:
DataLoaderException - The exception raised during the unmarshaller creation or the exception raised during the build of the java bindings.

getInstance

public static ViewDatasetHandler getInstance()
                                      throws DataLoaderException
Throws:
DataLoaderException


Copyright © 2010 eBMWebsourcing. All Rights Reserved.