Package net.sourceforge.pmd.document
Class DocumentOperation
- java.lang.Object
-
- net.sourceforge.pmd.document.DocumentOperation
-
- Direct Known Subclasses:
DeleteDocumentOperation,InsertDocumentOperation,ReplaceDocumentOperation
public abstract class DocumentOperation extends java.lang.ObjectRepresents an operation in a document which will be managed byDocumentOperationsApplierForNonOverlappingRegions.
-
-
Constructor Summary
Constructors Constructor Description DocumentOperation(int beginLine, int endLine, int beginColumn, int endColumn)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidapply(Document document)Apply this operation to the specified documentRegionByLinegetRegionByLine()
-
-
-
Method Detail
-
apply
public abstract void apply(Document document)
Apply this operation to the specified document- Parameters:
document- the document to which apply the operation
-
getRegionByLine
public RegionByLine getRegionByLine()
-
-