commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bur...@apache.org
Subject svn commit: r149219 - in jakarta/commons/sandbox/feedparser/trunk: TODO src/java/org/apache/commons/feedparser/FeedParser.java src/java/org/apache/commons/feedparser/FeedVersion.java
Date Mon, 31 Jan 2005 04:36:11 GMT
Author: burton
Date: Sun Jan 30 20:36:10 2005
New Revision: 149219

URL: http://svn.apache.org/viewcvs?view=rev&rev=149219
Log:
support for better versioning

Modified:
    jakarta/commons/sandbox/feedparser/trunk/TODO
    jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedParser.java
    jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedVersion.java

Modified: jakarta/commons/sandbox/feedparser/trunk/TODO
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/TODO?view=diff&r1=149218&r2=149219
==============================================================================
--- jakarta/commons/sandbox/feedparser/trunk/TODO (original)
+++ jakarta/commons/sandbox/feedparser/trunk/TODO Sun Jan 30 20:36:10 2005
@@ -55,6 +55,9 @@
     - Do we support multiple content items in Atom?
 
 
+- Where do we store global options like USER_AGENT, STRICT_PARSING, and STRICT_SPEC
+
+
 - Unit tests don't need to be so LOUD!!
 
 - tests for:

Modified: jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedParser.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedParser.java?view=diff&r1=149218&r2=149219
==============================================================================
--- jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedParser.java
(original)
+++ jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedParser.java
Sun Jan 30 20:36:10 2005
@@ -28,7 +28,7 @@
  * @version $Id$
  */
 public interface FeedParser {
-    
+
     /**
      * Parse this feed.
      * 
@@ -39,7 +39,6 @@
     public void parse( FeedParserListener listener,
                        InputStream is ,
                        String resource ) throws FeedParserException;
-    
 
     /**
      * @deprecated Use #parse( FeedParserException, InputStream, String )

Modified: jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedVersion.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedVersion.java?view=diff&r1=149218&r2=149219
==============================================================================
--- jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedVersion.java
(original)
+++ jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedVersion.java
Sun Jan 30 20:36:10 2005
@@ -49,4 +49,13 @@
      */
     public boolean isChanges;
 
+    /**
+     * The version of this specification.  If this is RSS 1.0 the version will
+     * be "1.0".  If this is Atom 0.5 the version will be "0.5" (and so
+     * forth). If the version is unknown the value is simply null.
+     *
+     * @author <a href="mailto:burton1@rojo.com">Kevin A. Burton</a>
+     */
+    public String version = null;
+    
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message