com.colorful.atom
Class Published

java.lang.Object
  extended by com.colorful.atom.Published

public class Published
extends java.lang.Object

This class represents an Atom 1.0 published element.

Author:
Bill Brown
                atomPublished = element atom:published { atomDateConstruct}
        
See Also:
Atom Syndication Format

Method Summary
 java.util.List<Attribute> getAttributes()
           
 java.util.Date getDateTime()
           
 java.lang.String getText()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDateTime

public java.util.Date getDateTime()
Returns:
the date timestamp for this element.

getText

public java.lang.String getText()
Returns:
the string formated version of the time for example 2006-04-28T12:50:43.337-05:00

getAttributes

public java.util.List<Attribute> getAttributes()
Returns:
the attributes for this element.