com.sun.syndication.propono.atom.common.rome
Class ROMEUtilities

java.lang.Object
  extended by com.sun.syndication.propono.atom.common.rome.ROMEUtilities

public class ROMEUtilities
extends Object

Convenience methods for ROME.


Field Summary
static String FEED_TYPE
          Feed type supported.
 
Method Summary
static boolean isMediaEntry(Entry entry)
          Determines if entry is media-link entry by checing for presents of link with rel="edit-media".
static Entry parseEntry(Reader rd)
          Parse entry from reader.
static void serializeEntry(Entry entry, Writer writer)
          Serialize entry to writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FEED_TYPE

public static final String FEED_TYPE
Feed type supported.

See Also:
Constant Field Values
Method Detail

serializeEntry

public static void serializeEntry(Entry entry,
                                  Writer writer)
                           throws IllegalArgumentException,
                                  FeedException,
                                  IOException
Serialize entry to writer.

Throws:
IllegalArgumentException
FeedException
IOException

parseEntry

public static Entry parseEntry(Reader rd)
                        throws org.jdom.JDOMException,
                               IOException,
                               IllegalArgumentException,
                               FeedException
Parse entry from reader.

Throws:
org.jdom.JDOMException
IOException
IllegalArgumentException
FeedException

isMediaEntry

public static boolean isMediaEntry(Entry entry)
Determines if entry is media-link entry by checing for presents of link with rel="edit-media".