de.ukn.hci.squidy.manager.heuristics
Class HeuristicsHandler

java.lang.Object
  extended by de.ukn.hci.squidy.manager.heuristics.HeuristicsHandler

public class HeuristicsHandler
extends Object

HeuristicsHandler.

 Date: Mar 28, 2009
 Time: 2:12:14 PM
 

Since:
1.0.0
Version:
$Id: HeuristicsHandler.java 30 2009-09-18 22:23:35Z nitsche $
Author:
 Roman R&aumldle
 Roman.Raedle@uni-konstanz.de
 Human-Computer Interaction Group
 University of Konstanz
 

Constructor Summary
protected HeuristicsHandler()
          Use singleton pattern.
 
Method Summary
protected  javax.xml.bind.JAXBContext getContext()
          Initializes the JAXB context with all required classes.
static HeuristicsHandler getHeuristicsHandler()
          Singleton pattern.
 Heuristics load(InputStream inputStream)
           
 void save(OutputStream outputStream, Heuristics data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeuristicsHandler

protected HeuristicsHandler()
Use singleton pattern.

Method Detail

getHeuristicsHandler

public static HeuristicsHandler getHeuristicsHandler()
Singleton pattern.

Returns:
Single instance of diagram model parser.

getContext

protected javax.xml.bind.JAXBContext getContext()
                                         throws javax.xml.bind.JAXBException
Initializes the JAXB context with all required classes.

Returns:
The initialized JAXB context.
Throws:
javax.xml.bind.JAXBException - The exception will be thrown if initialization of the JAXB context has been failed.

load

public Heuristics load(InputStream inputStream)
                throws SquidyException
Parameters:
inputStream -
Returns:
Throws:
SquidyException

save

public void save(OutputStream outputStream,
                 Heuristics data)
Parameters:
outputStream -
xmi -


Copyright © 2007-2010 Human-Computer-Interaction :: University of Konstanz. All Rights Reserved.