/[alph]/alph/org/nongnu/alph/xml/SpanReader.java
ViewVC logotype

Diff of /alph/org/nongnu/alph/xml/SpanReader.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by tjl, Wed Jun 11 17:50:18 2003 UTC revision 1.10 by mudyc, Tue Jun 17 15:18:33 2003 UTC
# Line 37  import java.util.List; Line 37  import java.util.List;
37    
38  public class SpanReader extends org.xml.sax.helpers.DefaultHandler  {  public class SpanReader extends org.xml.sax.helpers.DefaultHandler  {
39      public static boolean dbg = false;      public static boolean dbg = false;
40      private static void pa(String s) { System.out.println(s); }      private static void pa(String s) { System.out.println("SpanReader:: "+s); }
41    
42      public Alph alph;      public Alph alph;
43    
# Line 70  public class SpanReader extends org.xml. Line 70  public class SpanReader extends org.xml.
70              String t = attributes.getValue("t");              String t = attributes.getValue("t");
71              spans.add(new org.nongnu.alph.impl.URN5TextSpan(b, o, t));              spans.add(new org.nongnu.alph.impl.URN5TextSpan(b, o, t));
72          } else if(qName.equals("fts")) {          } else if(qName.equals("fts")) {
73              String t = attributes.getValue("t");              String t = attributes.getValue("t");
74              spans.add(new org.nongnu.alph.impl.FakeTextSpan(t));              spans.add(new org.nongnu.alph.impl.FakeTextSpan(t));
75          } else if(qName.equals("ps")) {          } else if(qName.equals("ps")) {
76              String b = attributes.getValue("b");              String b = attributes.getValue("b");
77              int s = Integer.parseInt(attributes.getValue("s"));              int s = Integer.parseInt(attributes.getValue("s"));

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26