Package net.sourceforge.pmd.document
Class InsertDocumentOperation
- java.lang.Object
-
- net.sourceforge.pmd.document.DocumentOperation
-
- net.sourceforge.pmd.document.InsertDocumentOperation
-
public class InsertDocumentOperation extends DocumentOperation
Represents an insert operation in aDocument
.
-
-
Constructor Summary
Constructors Constructor Description InsertDocumentOperation(int beginLine, int beginColumn, String textToInsert)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Document document)
Apply this operation to the specified document-
Methods inherited from class net.sourceforge.pmd.document.DocumentOperation
getRegionByLine
-
-
-
-
Constructor Detail
-
InsertDocumentOperation
public InsertDocumentOperation(int beginLine, int beginColumn, String textToInsert)
-
-
Method Detail
-
apply
public void apply(Document document)
Description copied from class:DocumentOperation
Apply this operation to the specified document- Specified by:
apply
in classDocumentOperation
- Parameters:
document
- the document to which apply the operation
-
-