@@ -28,7 +28,6 @@ public class SAX2EventRecorder {
2828
2929 private static final Integer Z = new Integer (0 );
3030
31- private static final Integer STATE_SET_DOCUMENT_LOCATOR = new Integer (0 );
3231 private static final Integer STATE_START_DOCUMENT = new Integer (1 );
3332 private static final Integer STATE_END_DOCUMENT = new Integer (2 );
3433 private static final Integer STATE_START_PREFIX_MAPPING = new Integer (3 );
@@ -53,22 +52,16 @@ public class SAX2EventRecorder {
5352 private static final Integer STATE_END_CDATA = new Integer (17 );
5453 private static final Integer STATE_COMMENT = new Integer (18 );
5554
56- org .xml .sax .Locator locator ;
5755 objArrayVector events = new objArrayVector ();
5856
5957 public void clear () {
60- locator = null ;
6158 events = new objArrayVector ();
6259 }
6360 public int getLength ()
6461 {
6562 return events .getLength ();
6663 }
6764
68- public int setDocumentLocator (org .xml .sax .Locator p1 ) {
69- locator = p1 ;
70- return events .add (STATE_SET_DOCUMENT_LOCATOR , Z ,Z ,Z ,Z );
71- }
7265 public int startDocument () {
7366 return events .add (STATE_START_DOCUMENT , Z ,Z ,Z ,Z );
7467 }
@@ -187,9 +180,6 @@ public void replay(int start, int stop, ContentHandler handler) throws SAXExcept
187180 } else if (event == STATE_SKIPPED_ENTITY ) {
188181 handler .skippedEntity ((String )events .get (n ,1 ));
189182
190- } else if (event == STATE_SET_DOCUMENT_LOCATOR ) {
191- handler .setDocumentLocator (locator );
192-
193183 } else if (event == STATE_START_DOCUMENT ) {
194184 handler .startDocument ();
195185
0 commit comments