Package net.sourceforge.pmd.document
Class ReplaceDocumentOperation
- java.lang.Object
-
- net.sourceforge.pmd.document.DocumentOperation
-
- net.sourceforge.pmd.document.ReplaceDocumentOperation
-
public class ReplaceDocumentOperation extends DocumentOperation
-
-
Constructor Summary
Constructors Constructor Description ReplaceDocumentOperation(int beginLine, int endLine, int beginColumn, int endColumn, String textToReplace)
-
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
-
ReplaceDocumentOperation
public ReplaceDocumentOperation(int beginLine, int endLine, int beginColumn, int endColumn, String textToReplace)
-
-
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
-
-