Examples of PatternDescriptor


Examples of org.jbpm.pvm.internal.wire.descriptor.PatternDescriptor

    sessionDescriptor.addInjection("mailServers", serversDescriptor);
    return sessionDescriptor;
  }

  protected Descriptor parsePattern(Element patternElement, Parse parse, Parser parser) {
    PatternDescriptor patternDescriptor =
        new PatternDescriptor(XmlUtil.getContentText(patternElement));
    // literal
    String literalAttr = XmlUtil.attribute(patternElement, "literal");
    if (literalAttr != null) {
      Boolean literal = XmlUtil.parseBooleanValue(literalAttr);
      if (literal != null) patternDescriptor.setLiteral(literal);
    }
    // canonEq
    String canonEqAttr = XmlUtil.attribute(patternElement, "canonEq");
    if (canonEqAttr != null) {
      Boolean canonEq = XmlUtil.parseBooleanValue(canonEqAttr);
      if (canonEq != null) patternDescriptor.setCanonEq(canonEq);
    }
    return patternDescriptor;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.