public void setModelByInputFileStream ( InputStream inputFileStream ) { try { this . model = SCXMLParser . parse ( new InputSource ( inputFileStream ) , null , customActionsFromTagExtensions ( ) ) ; this . setStateMachine ( this . model ) ; } catch ( IOException | SAXException | ModelException e ) { e . printStackTrace ( ) ; } }
Sets the SCXML model with an InputStream