org.apache.abdera.ext.tombstones
Class TombstonesHelper

java.lang.Object
  extended by org.apache.abdera.ext.tombstones.TombstonesHelper

public class TombstonesHelper
extends Object

Note this is an experimental implementation of the Tombstones specification. The tombstone spec is a work-in-progress and will continue to evolve. This extension should only be used for experimentation or prototype development. http://www.ietf.org/internet-drafts/draft-snell-atompub-tombstones-04.txt


Field Summary
static QName BY
           
static QName COMMENT
           
static QName DELETED_ENTRY
           
static String TNS
           
 
Constructor Summary
TombstonesHelper()
           
 
Method Summary
static Tombstone addTombstone(Feed source, Entry entry)
           
static Tombstone addTombstone(Feed source, Entry entry, AtomDate when, String by, String comment)
           
static Tombstone addTombstone(Feed source, Entry entry, Calendar when, String by, String comment)
           
static Tombstone addTombstone(Feed source, Entry entry, Date when, String by, String comment)
           
static Tombstone addTombstone(Feed source, Entry entry, long when, String by, String comment)
           
static Tombstone addTombstone(Feed source, Entry entry, String when, String by, String comment)
           
static Tombstone addTombstone(Feed source, String id)
           
static Tombstone addTombstone(Feed source, String id, AtomDate when, String by, String comment)
           
static Tombstone addTombstone(Feed source, String id, Calendar when, String by, String comment)
           
static Tombstone addTombstone(Feed source, String id, Date when, String by, String comment)
           
static Tombstone addTombstone(Feed source, String id, long when, String by, String comment)
           
static Tombstone addTombstone(Feed source, String id, String when, String by, String comment)
           
static void addTombstone(Feed source, Tombstone tombstone)
           
static List<Tombstone> getTombstones(Feed source)
           
static boolean hasTombstones(Feed source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TNS

public static final String TNS
See Also:
Constant Field Values

DELETED_ENTRY

public static final QName DELETED_ENTRY

BY

public static final QName BY

COMMENT

public static final QName COMMENT
Constructor Detail

TombstonesHelper

public TombstonesHelper()
Method Detail

getTombstones

public static List<Tombstone> getTombstones(Feed source)

addTombstone

public static void addTombstone(Feed source,
                                Tombstone tombstone)

addTombstone

public static Tombstone addTombstone(Feed source,
                                     Entry entry)

addTombstone

public static Tombstone addTombstone(Feed source,
                                     Entry entry,
                                     Date when,
                                     String by,
                                     String comment)

addTombstone

public static Tombstone addTombstone(Feed source,
                                     Entry entry,
                                     String when,
                                     String by,
                                     String comment)

addTombstone

public static Tombstone addTombstone(Feed source,
                                     Entry entry,
                                     Calendar when,
                                     String by,
                                     String comment)

addTombstone

public static Tombstone addTombstone(Feed source,
                                     Entry entry,
                                     long when,
                                     String by,
                                     String comment)

addTombstone

public static Tombstone addTombstone(Feed source,
                                     Entry entry,
                                     AtomDate when,
                                     String by,
                                     String comment)

hasTombstones

public static boolean hasTombstones(Feed source)

addTombstone

public static Tombstone addTombstone(Feed source,
                                     String id)

addTombstone

public static Tombstone addTombstone(Feed source,
                                     String id,
                                     Date when,
                                     String by,
                                     String comment)

addTombstone

public static Tombstone addTombstone(Feed source,
                                     String id,
                                     String when,
                                     String by,
                                     String comment)

addTombstone

public static Tombstone addTombstone(Feed source,
                                     String id,
                                     Calendar when,
                                     String by,
                                     String comment)

addTombstone

public static Tombstone addTombstone(Feed source,
                                     String id,
                                     long when,
                                     String by,
                                     String comment)

addTombstone

public static Tombstone addTombstone(Feed source,
                                     String id,
                                     AtomDate when,
                                     String by,
                                     String comment)


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.