org.jbpm.bpmn2.xml
Class SignalHandler
java.lang.Object
org.drools.core.xml.BaseAbstractHandler
org.jbpm.bpmn2.xml.SignalHandler
- All Implemented Interfaces:
- org.drools.core.xml.Handler
public class SignalHandler
- extends org.drools.core.xml.BaseAbstractHandler
- implements org.drools.core.xml.Handler
This class isn't currently used because we don't really check thrown or caught event content
(itemDefiniton references) to see if it matches the definition in the process.
In fact, at this moment, the whole <signal>
element is ignored because that (specifying
event content) is it's only function.
This handler is just here for two reasons:
- So we can process
<signal>
elements in process definitions
- When we do end up actively supporting event content, we'll need the functionality in this class
Fields inherited from class org.drools.core.xml.BaseAbstractHandler |
allowNesting, validParents, validPeers |
Methods inherited from class org.drools.core.xml.BaseAbstractHandler |
allowNesting, emptyAttributeCheck, emptyContentCheck, getValidParents, getValidPeers |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.drools.core.xml.Handler |
allowNesting, getValidParents, getValidPeers |
SignalHandler
public SignalHandler()
start
public Object start(String uri,
String localName,
Attributes attrs,
org.drools.core.xml.ExtensibleXmlParser parser)
throws SAXException
- Specified by:
start
in interface org.drools.core.xml.Handler
- Throws:
SAXException
end
public Object end(String uri,
String localName,
org.drools.core.xml.ExtensibleXmlParser parser)
throws SAXException
- Specified by:
end
in interface org.drools.core.xml.Handler
- Throws:
SAXException
generateNodeFor
public Class<?> generateNodeFor()
- Specified by:
generateNodeFor
in interface org.drools.core.xml.Handler
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.