| Package | Description |
|---|---|
| org.kohsuke.maven.rewrite |
| Modifier and Type | Method and Description |
|---|---|
Mark |
XmlPatcher.getLast()
Returns a mark that points to the last returned
XMLEvent |
Mark |
XmlPatcher.mark()
Creates a new mark.
|
Mark |
Mark.to(Mark that)
Creates a new mark that spans the range in between this and that mark.
|
Mark |
Mark.toCurrent()
Creates a new mark that spans the range in between this mark and the current position of
XmlPatcher. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Mark.contains(Mark that)
Does this mark contains the other mark?
|
String |
XmlPatcher.getBetween(Mark a,
Mark b) |
boolean |
Mark.isLeftOf(Mark that) |
boolean |
Mark.isRightOf(Mark that) |
void |
XmlPatcher.replaceBetween(Mark a,
Mark b,
String replacement)
Replaces all content between two marks with the replacement text.
|
void |
Mark.set(Mark that) |
Mark |
Mark.to(Mark that)
Creates a new mark that spans the range in between this and that mark.
|
Copyright © 2013. All Rights Reserved.