public class SetPropertyInstructionImpl extends BaseInstruction implements Instruction.SetPropertyInstruction
Instruction.AddNodeInstruction, Instruction.CopyNodeInstruction, Instruction.MoveNodeInstruction, Instruction.RemoveNodeInstruction, Instruction.SetPropertyInstructionpath| Constructor and Description |
|---|
SetPropertyInstructionImpl(String path,
String key,
Object value)
Constructs a new
SetPropertyInstruction. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(InstructionVisitor visitor)
Accepts an
InstructionVisitor. |
String |
getKey()
Returns the name of the property.
|
Object |
getValue()
Returns the value of the property.
|
getPathclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPathpublic void accept(InstructionVisitor visitor)
InstructionInstructionVisitor.accept in interface Instructionvisitor - The visitor.public String getKey()
getKey in interface Instruction.SetPropertyInstructionpublic Object getValue()
getValue in interface Instruction.SetPropertyInstructionCopyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.