Package org.jbpm.wire.descriptor

Examples of org.jbpm.wire.descriptor.ClassDescriptor


* @author Guillaume Porcher (documentation)
*/
public class ClassBinding implements Binding {

  public Object parse(Element element, Parse parse, Parser parser) {
    ClassDescriptor classDescriptor = null;
    String className = XmlUtil.attribute(element, "classname");
    if (className!=null) {
      classDescriptor = new ClassDescriptor();
      classDescriptor.setClassName(className);
    } else {
      parse.addProblem("class must have classname attribute: "+XmlUtil.toString(element));
    }
    return classDescriptor;
  }
View Full Code Here

TOP

Related Classes of org.jbpm.wire.descriptor.ClassDescriptor

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.