Interface AccState<I,E>
- All Known Subinterfaces:
AccStateGon<I,,E, K, V> AccStateTypeNonObject<I,,E, K, V> AccStateTypeProduceEntry<I,,E, K, V> AccStateTypeProduceNode<I,,E, K, V> AccStateTypeProduceObject<I,,E, K, V> AccStateTypeTransition<I,E, K, V>
- All Known Implementing Classes:
AccStateArray,AccStateArrayInit,AccStateBase,AccStateCondition,AccStateFragmentBody,AccStateFragmentHead,AccStateInit,AccStateLiteral,AccStateLiteralProperty,AccStateMap,AccStateMemberSet,AccStateObject,AccStateProperty,AccStatePropertyBase,AccStateTransitionBase,AccStateTypeProduceEntryBase
public interface AccState<I,E>
-
Method Summary
Modifier and TypeMethodDescriptionvoidFIXME What exactly is id? Is it the value by which this acc connects to the parent? The context and skipOutput flag are stored on the accumulator until end is called.children()Sub-accumulators must be enumerated in the correct order.voidend()getRoot()Get the id of the state for which this accumulator is notified.booleanhasBegun()transition(Object inputStateId, I binding, E env)
-
Method Details
-
getParent
-
getRoot
-
getStateId
Object getStateId()Get the id of the state for which this accumulator is notified. -
begin
FIXME What exactly is id? Is it the value by which this acc connects to the parent? The context and skipOutput flag are stored on the accumulator until end is called.- Throws:
IOException
-
hasBegun
boolean hasBegun() -
transition
- Parameters:
inputStateId- The stateId, typically extracted from the input by the driver. (Rationale: Only the driver needs to know how to extract the state from an input).binding-env-- Returns:
- Throws:
IOException
-
end
- Throws:
IOException
-
children
Sub-accumulators must be enumerated in the correct order.
-