Package | Description |
---|---|
cz.cuni.mff.corrector.edit |
Edit operations for transforming trees.
|
cz.cuni.mff.corrector.tree |
Data trees abstraction for XML documents.
|
Modifier and Type | Field and Description |
---|---|
protected Position |
Edit.basePosition
Position in a data tree the operation should be performed at.
|
Modifier and Type | Method and Description |
---|---|
Position |
Edit.getBasePosition()
Returns the base position of the edit operation.
|
Constructor and Description |
---|
Edit(Position basePosition)
Initializes the common items of the edit operation structure.
|
EditAddLeaf(InstructionAddLeaf repairingInstr,
Position basePosition)
Creates a new add leaf edit operation object.
|
EditAddNode(InstructionAddNode repairingInstr,
Position basePosition)
Creates a new add node edit operation object.
|
EditRemoveLeaf(InstructionRemoveLeaf repairingInstr,
Position basePosition)
Creates a new remove leaf edit operation object.
|
EditRemoveNode(InstructionRemoveNode repairingInstr,
Position basePosition)
Creates a new remove node edit operation object.
|
EditRenameLabel(InstructionRenameLabel repairingInstr,
Position basePosition)
Creates a new rename label edit operation object.
|
Modifier and Type | Method and Description |
---|---|
Position |
Position.cloneIdenticalPosition()
Creates an independent clone of the position operation.
|
Position |
Position.cloneShiftedPosition(int incrementValue)
Creates a new independent clone with applied root shifting.
|