abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r660387 - in /incubator/abdera/java/trunk: core/src/main/java/org/apache/abdera/model/Link.java parser/src/main/java/org/apache/abdera/parser/stax/FOMLink.java
Date Tue, 27 May 2008 05:33:34 GMT
Author: jmsnell
Date: Mon May 26 22:33:28 2008
New Revision: 660387

URL: http://svn.apache.org/viewvc?rev=660387&view=rev
Log:
add support for the new "service" link in the IANA registry

Modified:
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Link.java
    incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMLink.java

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Link.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Link.java?rev=660387&r1=660386&r2=660387&view=diff
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Link.java (original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Link.java Mon May
26 22:33:28 2008
@@ -62,6 +62,7 @@
   public static final String REL_LICENSE = "license";
   public static final String REL_EDIT = "edit";
   public static final String REL_EDIT_MEDIA = "edit-media";
+  public static final String REL_SERVICE = "service";
   
   public static final String IANA_BASE = "http://www.iana.org/assignments/relation/";
   
@@ -80,6 +81,7 @@
   public static final String REL_LICENSE_IANA = IANA_BASE + REL_LICENSE;
   public static final String REL_EDIT_IANA = IANA_BASE + REL_EDIT;
   public static final String REL_EDIT_MEDIA_IANA = IANA_BASE + REL_EDIT_MEDIA;
+  public static final String REL_SERVICE_IANA = IANA_BASE + REL_SERVICE;
   
   /**
    * RFC4287: The "href" attribute contains the link's IRI. atom:link 

Modified: incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMLink.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMLink.java?rev=660387&r1=660386&r2=660387&view=diff
==============================================================================
--- incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMLink.java
(original)
+++ incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMLink.java
Mon May 26 22:33:28 2008
@@ -212,6 +212,7 @@
     REL_EQUIVS.put(REL_LICENSE_IANA, REL_LICENSE);
     REL_EQUIVS.put(REL_EDIT_IANA, REL_EDIT);
     REL_EQUIVS.put(REL_EDIT_MEDIA_IANA, REL_EDIT_MEDIA);
+    REL_EQUIVS.put(REL_SERVICE_IANA, REL_SERVICE);
   }
   public static final String getRelEquiv(String val) {
     try {



Mime
View raw message