ru.oogis.dro
Class CreatedEmitter
java.lang.Object
ru.oogis.dro.DrlEmitter
ru.oogis.dro.CreatedEmitter
- All Implemented Interfaces:
- java.lang.Runnable
public class CreatedEmitter
- extends DrlEmitter
Constructor Summary |
CreatedEmitter(edu.stanford.smi.protege.model.Instance packInst)
|
Method Summary |
void |
createAndEmitRules(java.lang.String path)
|
void |
createAndEmitRules(java.io.Writer wr)
|
void |
emitCreatedRule(edu.stanford.smi.protege.model.Instance rule,
java.io.Writer wr,
java.lang.String suffix,
java.lang.String wslot,
java.lang.String tslot)
|
static void |
main(java.lang.String[] args)
|
void |
run()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreatedEmitter
public CreatedEmitter(edu.stanford.smi.protege.model.Instance packInst)
createAndEmitRules
public void createAndEmitRules(java.io.Writer wr)
throws java.io.IOException
- Throws:
java.io.IOException
createAndEmitRules
public void createAndEmitRules(java.lang.String path)
throws java.io.IOException
- Throws:
java.io.IOException
emitCreatedRule
public void emitCreatedRule(edu.stanford.smi.protege.model.Instance rule,
java.io.Writer wr,
java.lang.String suffix,
java.lang.String wslot,
java.lang.String tslot)
throws java.io.IOException
- Throws:
java.io.IOException
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
- Overrides:
run
in class DrlEmitter
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception