com.bigbross.bossa.io
Class CaseTypeXMLLoader

java.lang.Object
  extended bycom.bigbross.bossa.io.CaseTypeXMLLoader

public class CaseTypeXMLLoader
extends Object

This class loads an external XML case type definition.

The XML representation of a case type is a PNML file, as created by the PNK using the WFNet net type.

Author:
BigBross Team

Constructor Summary
CaseTypeXMLLoader(String file)
          Creates a new loader for the provided PNML file.
 
Method Summary
 CaseType createCaseType()
          Creates the case type from the PNML file loaded.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaseTypeXMLLoader

public CaseTypeXMLLoader(String file)
                  throws DataTransferException
Creates a new loader for the provided PNML file.

Parameters:
file - the PNML file to open.
Throws:
DataTransferException - if an error happens reading or parsing the PNML file.
Method Detail

createCaseType

public CaseType createCaseType()
                        throws BossaException
Creates the case type from the PNML file loaded.

Returns:
the case type created.
Throws:
SetAttributeException - if the underlying expression evaluation system has problems setting an attribute.
EvaluationException - if an expression evaluation error occurs.
BossaException


Copyright © 2003,2004 OpenBR Sistemas S/C Ltda.