FileDocCategorySizeDatePackage
GOMPublishedImpl.javaAPI DocApache Lucene 2.1.01853Wed Feb 14 10:45:58 GMT 2007org.apache.lucene.gdata.gom.core

GOMPublishedImpl

public class GOMPublishedImpl extends GOMDateConstructImpl implements org.apache.lucene.gdata.gom.GOMPublished
author
Simon Willnauer

Fields Summary
protected static final QName
RSS_QNAME
Constructors Summary
public GOMPublishedImpl()


	 	 
	  
		this.localName = GOMPublished.LOCALNAME;
		this.qname = new QName(this.localName);
	
Methods Summary
public voidwriteRssOutput(org.apache.lucene.gdata.gom.writer.GOMOutputWriter aStreamWriter)

see
org.apache.lucene.gdata.gom.GOMElement#writeRssOutput(org.apache.lucene.gdata.gom.writer.GOMStaxWriter)

		String rssRFC3339Date = GOMUtils
				.buildRfc822Date(this.date == 0 ? System.currentTimeMillis()
						: this.date);
		aStreamWriter.writeSimpleXMLElement(RSS_QNAME,
				getXmlNamespaceAttributes(), rssRFC3339Date);