de.hedenus.rdfschema.rules
Class AbstractRule

java.lang.Object
  extended by de.hedenus.rdfschema.rules.AbstractRule
All Implemented Interfaces:
Rule
Direct Known Subclasses:
PropertyPropagationRule, PropertyRule, ResourceRule, SubclassOfResourceRule, TypePropagationRule

public abstract class AbstractRule
extends java.lang.Object
implements Rule

Base class for rule implementations.

Author:
Michael Hedenus

Field Summary
protected static java.util.ArrayList tempResult
           
 
Constructor Summary
protected AbstractRule(java.lang.String name)
           
 
Method Summary
protected abstract  void execute(RDFDatabinding databinding, RDFGraph graph, Statement statement)
           
 void execute(RDFDatabinding databinding, Statement statement)
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tempResult

protected static java.util.ArrayList tempResult
Constructor Detail

AbstractRule

protected AbstractRule(java.lang.String name)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Rule

execute

public void execute(RDFDatabinding databinding,
                    Statement statement)
Specified by:
execute in interface Rule

execute

protected abstract void execute(RDFDatabinding databinding,
                                RDFGraph graph,
                                Statement statement)