JTP API Documentation

jtp.frame.fc
Class RuleUnroller.UnrollingTemplate

java.lang.Object
  |
  +--jtp.frame.fc.RuleUnroller.UnrollingTemplate
Enclosing class:
RuleUnroller

public static class RuleUnroller.UnrollingTemplate
extends Object

An unrolling template associates a group of literals with a layer in the unroller.


Field Summary
static Object ANY
          Use this constant to indicate that absolutely anything would match the template; the wild card
static Object ANY_SYMBOL
          Use this constant to indicate that any symbol would match the template
static Object ANY_VARIABLE
          Use this constant to indicate that any unbound variable would match the template
 
Constructor Summary
RuleUnroller.UnrollingTemplate(Object[] elements, int layer)
           
RuleUnroller.UnrollingTemplate(Object property, Object subject, Object object, int layer)
           
 
Method Summary
 boolean match(Literal l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANY_SYMBOL

public static final Object ANY_SYMBOL
Use this constant to indicate that any symbol would match the template


ANY_VARIABLE

public static final Object ANY_VARIABLE
Use this constant to indicate that any unbound variable would match the template


ANY

public static final Object ANY
Use this constant to indicate that absolutely anything would match the template; the wild card

Constructor Detail

RuleUnroller.UnrollingTemplate

public RuleUnroller.UnrollingTemplate(Object property,
                                      Object subject,
                                      Object object,
                                      int layer)

RuleUnroller.UnrollingTemplate

public RuleUnroller.UnrollingTemplate(Object[] elements,
                                      int layer)
Method Detail

match

public boolean match(Literal l)

JTP API Documentation