Package model

Examples of model.Send


            // [...] the executable content inside <finalize> MUST NOT raise events or invoke external actions.
            // In particular, the <send> and <raise> elements MUST NOT occur.
            reportIgnoredElement(reader, configuration, ELEM_FINALIZE, XMLNS_SCXML, ELEM_SEND);
        }

        Send send = new Send();
        send.setDelay(readAV(reader, ATTR_DELAY));
        send.setEvent(readAV(reader, ATTR_EVENT));
        send.setHints(readAV(reader, ATTR_HINTS));
        send.setNamelist(readAV(reader, ATTR_NAMELIST));
        send.setSendid(readAV(reader, ATTR_SENDID));
        send.setTarget(readAV(reader, ATTR_TARGET));
        send.setType(readAV(reader, ATTR_TYPE));
        readNamespaces(configuration, send);

        Node body = readNode(reader, configuration, XMLNS_SCXML, ELEM_SEND, new String [] {});
        NodeList childNodes = body.getChildNodes();
        List<Node> externalNodes = send.getExternalNodes();
        for (int i = 0; i < childNodes.getLength(); i++) {
            externalNodes.add(childNodes.item(i));
        }

        send.setParent(executable);
        if (parent != null) {
            parent.addAction(send);
        } else {
            executable.addAction(send);
        }
View Full Code Here

TOP

Related Classes of model.Send

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.