/[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.5 by tjl, Sun Apr 6 13:02:51 2003 UTC revision 1.6 by tjl, Wed Apr 16 03:44:23 2003 UTC
# Line 45  public class SpanReader extends org.xml. Line 45  public class SpanReader extends org.xml.
45              int o = Integer.parseInt(attributes.getValue("o"));              int o = Integer.parseInt(attributes.getValue("o"));
46              String t = attributes.getValue("t");              String t = attributes.getValue("t");
47              spans.add(new org.nongnu.alph.impl.URN5TextSpan(b, o, t));              spans.add(new org.nongnu.alph.impl.URN5TextSpan(b, o, t));
48            } else if(qName.equals("fts")) {
49                String t = attributes.getValue("t");
50                spans.add(new org.nongnu.alph.impl.FakeTextSpan(t));
51          } else {          } else {
52              throw new Error("Unknown element '"+localName+"'");              throw new Error("Unknown element '"+localName+"'");
53          }          }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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