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


Field Summary
protected  int current
           
protected  org.apache.xerces.impl.xpath.regex.RegularExpression regularExpression
           
protected  java.lang.String string
           
protected  java.lang.StringBuffer stringBuffer
           
 
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
 

Field Detail

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
Constructor Detail

JMerger.FindAndReplace

public JMerger.FindAndReplace(org.apache.xerces.impl.xpath.regex.RegularExpression regularExpression)
Method Detail

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)

Copyright 2001-2002 IBM Corporation and others.
All Rights Reserved.