FSMParser
A parser for the Finite State Machine XML representation.
-
delegate for notification on end of the document
Declaration
Swift
weak public var delegate: FSMParserDelegate?
-
Constructor.
Declaration
Swift
public init(fsm: String)
-
Start the xml parsing process
Declaration
Swift
public func parse()
-
Creates a
State
instance from its XML definition.Declaration
Swift
public func parser(parser: NSXMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [NSObject : AnyObject])
-
Called by the parser object when it has successfully completed parsing.
Declaration
Swift
public func parserDidEndDocument(parser: NSXMLParser)