Package org.apache.uima.ruta.explain.tree

Examples of org.apache.uima.ruta.explain.tree.RuleElementMatchNode


  }

  @Override
  public Image getImage(Object element) {
    if (element instanceof RuleElementMatchNode) {
      RuleElementMatchNode rem = (RuleElementMatchNode) element;
      boolean matched = rem.matched();
      return owner.getImage(ExplainConstants.RULE_ELEMENT_MATCH_TYPE + matched);
    } else if (element instanceof RuleElementMatchesNode) {
      RuleElementMatchesNode rems = (RuleElementMatchesNode) element;
      boolean matched = rems.matched();
      return owner.getImage(ExplainConstants.RULE_ELEMENT_MATCHES_TYPE + matched);
View Full Code Here


  }

  @Override
  public Image getImage(Object element) {
    if (element instanceof RuleElementMatchNode) {
      RuleElementMatchNode rem = (RuleElementMatchNode) element;
      boolean matched = rem.matched();
      return owner.getImage(ExplainConstants.RULE_ELEMENT_MATCH_TYPE + matched);
    } else if (element instanceof RuleElementMatchesNode) {
      RuleElementMatchesNode rems = (RuleElementMatchesNode) element;
      boolean matched = rems.matched();
      return owner.getImage(ExplainConstants.RULE_ELEMENT_MATCHES_TYPE + matched);
View Full Code Here

TOP

Related Classes of org.apache.uima.ruta.explain.tree.RuleElementMatchNode

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.