org.decisiondeck.jmcda.persist.xmcda2.utils
Class XMCDAHelperWithVarious

java.lang.Object
  extended by org.decisiondeck.jmcda.persist.xmcda2.utils.XMCDAHelper
      extended by org.decisiondeck.jmcda.persist.xmcda2.utils.XMCDAHelperWithVarious
Direct Known Subclasses:
XMCDAAlternatives, XMCDAAlternativesMatrix, XMCDAAlternativesScores, XMCDAAssignments, XMCDACategories, XMCDACriteria, XMCDADecisionMakers, XMCDAEvaluations, XMCDAGroupSortingProblemReader, XMCDAOrderedIntervals, XMCDAProblemReader, XMCDASortingProblemReader

public class XMCDAHelperWithVarious
extends XMCDAHelper

An errors manager forwarder combined with methods from XMCDAVarious and XMCDAReadUtils to help parsing XMCDA fragments. Reader classes may inherit from this class to get initial implementation support.


Constructor Summary
XMCDAHelperWithVarious()
          Creates a new object that uses the default error management strategy XMCDAErrorsManager.ErrorManagement.THROW.
XMCDAHelperWithVarious(XMCDAErrorsManager errorsManager)
          Creates a new object which delegates error management to the given error manager in case of unexpected data read.
 
Method Summary
 
Methods inherited from class org.decisiondeck.jmcda.persist.xmcda2.utils.XMCDAHelper
error, getStrategy, setStrategy
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMCDAHelperWithVarious

public XMCDAHelperWithVarious()
Creates a new object that uses the default error management strategy XMCDAErrorsManager.ErrorManagement.THROW.


XMCDAHelperWithVarious

public XMCDAHelperWithVarious(XMCDAErrorsManager errorsManager)
Creates a new object which delegates error management to the given error manager in case of unexpected data read.

Parameters:
errorsManager - not null.


Copyright © 2011. All Rights Reserved.