public interface InstructionVisitor
Instructions without the need to use instanceof
on each item.| Modifier and Type | Method and Description |
|---|---|
void |
visit(Instruction.AddNodeInstruction instruction)
Visits a
AddNodeInstruction. |
void |
visit(Instruction.CopyNodeInstruction instruction)
Visits a
CopyNodeInstruction. |
void |
visit(Instruction.MoveNodeInstruction instruction)
Visits a
MoveNodeInstruction. |
void |
visit(Instruction.RemoveNodeInstruction instruction)
Visits a
RemoveNodeInstruction. |
void |
visit(Instruction.SetPropertyInstruction instruction)
Visits a
SetPropertyInstruction. |
void visit(Instruction.AddNodeInstruction instruction)
AddNodeInstruction.instruction - The instruction.void visit(Instruction.CopyNodeInstruction instruction)
CopyNodeInstruction.instruction - The instruction.void visit(Instruction.MoveNodeInstruction instruction)
MoveNodeInstruction.instruction - The instruction.void visit(Instruction.RemoveNodeInstruction instruction)
RemoveNodeInstruction.instruction - The instruction.void visit(Instruction.SetPropertyInstruction instruction)
SetPropertyInstruction.instruction - The instruction.Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.