org.kuali.ole.ingest
Class OleLocationObjectGeneratorFromXML

java.lang.Object
  extended by org.kuali.ole.ingest.OleLocationObjectGeneratorFromXML

public class OleLocationObjectGeneratorFromXML
extends Object

OleLocationObjectGeneratorFromXML is used as a converter which converts xml string to OleLocationGroup object and OleLocationGroup object to xml string


Constructor Summary
OleLocationObjectGeneratorFromXML()
           
 
Method Summary
 OleLocationGroup buildLocationFromFileContent(String fileContent)
          This method returns OleLocationGroup.
 String toXML(List<OleLocationIngest> oleLocationIngestList)
          This method returns xml.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OleLocationObjectGeneratorFromXML

public OleLocationObjectGeneratorFromXML()
Method Detail

buildLocationFromFileContent

public OleLocationGroup buildLocationFromFileContent(String fileContent)
                                              throws URISyntaxException,
                                                     IOException
This method returns OleLocationGroup. This method build the LocationGroup based on file content.

Parameters:
fileContent -
Returns:
OleLocationGroup
Throws:
URISyntaxException
IOException

toXML

public String toXML(List<OleLocationIngest> oleLocationIngestList)
             throws URISyntaxException,
                    IOException
This method returns xml. This method convert the oleLocationIngestList into xml.

Parameters:
oleLocationIngestList -
Returns:
stringBuffer
Throws:
URISyntaxException
IOException


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.