[jsword-svn] jsword/java/jsword/org/crosswire/jsword/book/filter/plaintext s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sat Mar 5 15:08:08 MST 2005


Update of /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/filter/plaintext
In directory www.crosswire.org:/tmp/cvs-serv27571/java/jsword/org/crosswire/jsword/book/filter/plaintext

Modified Files:
	PlainTextFilter.java 
Log Message:
Improved error reporting when parsing modules. Specifically, I added Key as a n argument to toOSIS in Filter and its derivatives. On entry into the routine, I called DataPolice.setKey(key) and on exit, DataPolice.setKey(null)

Index: PlainTextFilter.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/filter/plaintext/PlainTextFilter.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** PlainTextFilter.java	10 Aug 2004 22:26:39 -0000	1.4
--- PlainTextFilter.java	5 Mar 2005 22:08:06 -0000	1.5
***************
*** 5,8 ****
--- 5,9 ----
  import org.crosswire.jsword.book.OSISUtil;
  import org.crosswire.jsword.book.filter.Filter;
+ import org.crosswire.jsword.passage.Key;
  import org.jdom.Element;
  
***************
*** 36,40 ****
       * @see org.crosswire.jsword.book.filter.Filter#toOSIS(org.crosswire.jsword.book.filter.BookDataListener, java.lang.String)
       */
!     public List toOSIS(String plain)
      {
          Element ele = OSISUtil.factory().createDiv();
--- 37,41 ----
       * @see org.crosswire.jsword.book.filter.Filter#toOSIS(org.crosswire.jsword.book.filter.BookDataListener, java.lang.String)
       */
!     public List toOSIS(Key key, String plain)
      {
          Element ele = OSISUtil.factory().createDiv();



More information about the jsword-svn mailing list