com.webmethods.caf.faces.data.export.atom
Class Date

java.lang.Object
  extended by com.webmethods.caf.faces.data.export.atom.Element
      extended by com.webmethods.caf.faces.data.export.atom.Date

public class Date
extends Element

Represents an atom date element (like updated or published).


Nested Class Summary
 
Nested classes/interfaces inherited from class com.webmethods.caf.faces.data.export.atom.Element
Element.ElementContentType, Element.Property
 
Field Summary
static Pattern IS_RFC3339_DATE
           
protected  long m_ms
           
static DateFormat RFC3339_DATE_FORMAT
           
 
Fields inherited from class com.webmethods.caf.faces.data.export.atom.Element
m_attributes, m_base, m_baseURI, m_children, m_content, m_lang, m_name, m_parent, STRIP_FROM_NORMAL_NAME
 
Constructor Summary
Date()
           
Date(Object o)
           
 
Method Summary
 long getMs()
           
protected  void initialize(Object o)
          Initialize with specified object.
 void setContent(String content)
           
protected  void setDate(Object o)
           
 void setMs(long ms)
           
protected  void setProperties(IContentProvider provider, Collection keys)
          Set the normalized properties of this element.
 
Methods inherited from class com.webmethods.caf.faces.data.export.atom.Element
enforceChildrenConformance, enforceChildrenConformance, enforceConformance, escapeXMLContent, escapeXMLName, firstValue, getAttributes, getBase, getBaseUri, getBaseURI, getChildren, getContent, getLang, getName, getParent, multipleValues, printAttribute, printChildren, printChildren, printChildren, printContent, printEndTag, printStartTag, printTextualContent, serialize, setAttributes, setBase, setChildren, setLang, setName, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

IS_RFC3339_DATE

public static Pattern IS_RFC3339_DATE

RFC3339_DATE_FORMAT

public static DateFormat RFC3339_DATE_FORMAT

m_ms

protected long m_ms
Constructor Detail

Date

public Date()

Date

public Date(Object o)
Method Detail

initialize

protected void initialize(Object o)
Description copied from class: Element
Initialize with specified object.

Overrides:
initialize in class Element

setProperties

protected void setProperties(IContentProvider provider,
                             Collection keys)
Description copied from class: Element
Set the normalized properties of this element.

Overrides:
setProperties in class Element

setContent

public void setContent(String content)
Overrides:
setContent in class Element

setDate

protected void setDate(Object o)

getMs

public long getMs()

setMs

public void setMs(long ms)