org.drools.marshalling.impl
Class OutputMarshaller

java.lang.Object
  extended by org.drools.marshalling.impl.OutputMarshaller

public class OutputMarshaller
extends Object


Nested Class Summary
static class OutputMarshaller.AgendaGroupSorter
           
static class OutputMarshaller.EqualityKeySorter
           
static class OutputMarshaller.HandleSorter
           
static class OutputMarshaller.RuleFlowGroupSorter
           
static class OutputMarshaller.TupleSorter
           
 
Constructor Summary
OutputMarshaller()
           
 
Method Summary
static InternalFactHandle[] orderFacts(ObjectStore objectStore)
           
static void writeActionQueue(MarshallerWriteContext context)
           
static void writeActivation(MarshallerWriteContext context, LeftTuple leftTuple, AgendaItem agendaItem, RuleTerminalNode ruleTerminalNode)
           
static void writeActivations(MarshallerWriteContext context)
           
static void writeAgenda(MarshallerWriteContext context)
           
static void writeFactHandles(MarshallerWriteContext context)
           
static void writeInitialFactHandleLeftTuples(MarshallerWriteContext context)
           
static void writeInitialFactHandleRightTuples(MarshallerWriteContext context)
           
static void writeLeftTuple(LeftTuple leftTuple, MarshallerWriteContext context, boolean recurse)
           
static void writeLeftTuples(MarshallerWriteContext context)
           
static void writePropagationContext(MarshallerWriteContext context, PropagationContext pc)
           
static void writePropagationContexts(MarshallerWriteContext context)
           
static void writeRightTuple(RightTuple rightTuple, MarshallerWriteContext context)
           
static void writeRightTuples(InternalFactHandle handle, MarshallerWriteContext context)
           
static void writeSession(MarshallerWriteContext context)
           
static void writeTruthMaintenanceSystem(MarshallerWriteContext context)
           
static void writeWorkItem(MarshallerWriteContext context, WorkItem workItem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputMarshaller

public OutputMarshaller()
Method Detail

writeSession

public static void writeSession(MarshallerWriteContext context)
                         throws IOException
Throws:
IOException

writeAgenda

public static void writeAgenda(MarshallerWriteContext context)
                        throws IOException
Throws:
IOException

writeActionQueue

public static void writeActionQueue(MarshallerWriteContext context)
                             throws IOException
Throws:
IOException

writeTruthMaintenanceSystem

public static void writeTruthMaintenanceSystem(MarshallerWriteContext context)
                                        throws IOException
Throws:
IOException

writeFactHandles

public static void writeFactHandles(MarshallerWriteContext context)
                             throws IOException
Throws:
IOException

orderFacts

public static InternalFactHandle[] orderFacts(ObjectStore objectStore)

writeInitialFactHandleRightTuples

public static void writeInitialFactHandleRightTuples(MarshallerWriteContext context)
                                              throws IOException
Throws:
IOException

writeInitialFactHandleLeftTuples

public static void writeInitialFactHandleLeftTuples(MarshallerWriteContext context)
                                             throws IOException
Throws:
IOException

writeRightTuples

public static void writeRightTuples(InternalFactHandle handle,
                                    MarshallerWriteContext context)
                             throws IOException
Throws:
IOException

writeRightTuple

public static void writeRightTuple(RightTuple rightTuple,
                                   MarshallerWriteContext context)
                            throws IOException
Throws:
IOException

writeLeftTuples

public static void writeLeftTuples(MarshallerWriteContext context)
                            throws IOException
Throws:
IOException

writeLeftTuple

public static void writeLeftTuple(LeftTuple leftTuple,
                                  MarshallerWriteContext context,
                                  boolean recurse)
                           throws IOException
Throws:
IOException

writeActivations

public static void writeActivations(MarshallerWriteContext context)
                             throws IOException
Throws:
IOException

writeActivation

public static void writeActivation(MarshallerWriteContext context,
                                   LeftTuple leftTuple,
                                   AgendaItem agendaItem,
                                   RuleTerminalNode ruleTerminalNode)
                            throws IOException
Throws:
IOException

writePropagationContexts

public static void writePropagationContexts(MarshallerWriteContext context)
                                     throws IOException
Throws:
IOException

writePropagationContext

public static void writePropagationContext(MarshallerWriteContext context,
                                           PropagationContext pc)
                                    throws IOException
Throws:
IOException

writeWorkItem

public static void writeWorkItem(MarshallerWriteContext context,
                                 WorkItem workItem)
                          throws IOException
Throws:
IOException


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.