org.eclipse.emf.codegen.jmerge
Class JMerger.FindAndReplace
java.lang.Object
|
+--org.eclipse.emf.codegen.jmerge.JMerger.FindAndReplace
- Enclosing class:
- JMerger
- public abstract static class JMerger.FindAndReplace
- extends java.lang.Object
Constructor Summary |
JMerger.FindAndReplace(org.apache.xerces.impl.xpath.regex.RegularExpression regularExpression)
|
Method Summary |
java.lang.String |
apply(java.lang.String string)
|
abstract boolean |
handleMatch(org.apache.xerces.impl.xpath.regex.Match match)
|
void |
replace(int begin,
int end,
java.lang.String replacement)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
regularExpression
protected org.apache.xerces.impl.xpath.regex.RegularExpression regularExpression
string
protected java.lang.String string
stringBuffer
protected java.lang.StringBuffer stringBuffer
current
protected int current
JMerger.FindAndReplace
public JMerger.FindAndReplace(org.apache.xerces.impl.xpath.regex.RegularExpression regularExpression)
apply
public java.lang.String apply(java.lang.String string)
replace
public void replace(int begin,
int end,
java.lang.String replacement)
handleMatch
public abstract boolean handleMatch(org.apache.xerces.impl.xpath.regex.Match match)