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

GOMIdImpl

public class GOMIdImpl extends AbstractGOMElement implements org.apache.lucene.gdata.gom.GOMId
author
Simon Willnauer

Fields Summary
protected static final QName
ATOM_QNAME
Constructors Summary
GOMIdImpl()


	 
		this.localName = LOCALNAME;
		this.qname = new QName(GOMNamespace.ATOM_NS_URI, this.localName);
	
Methods Summary
public java.lang.StringgetLocalName()

see
org.apache.lucene.gdata.gom.core.AbstractGOMElement#getLocalName()

		return this.localName;
	
public voidprocessElementValue(java.lang.String aValue)

see
org.apache.lucene.gdata.gom.core.AtomParser#processElementValue(java.lang.String)

		this.textValue = aValue;

	
public voidprocessEndElement()

see
org.apache.lucene.gdata.gom.core.AtomParser#processEndElement()

		if (this.textValue == null)
			throw new GDataParseException(
					"Element id must have a unique id value -- is null");

	
public voidwriteAtomOutput(org.apache.lucene.gdata.gom.writer.GOMOutputWriter aStreamWriter)

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

		if (aStreamWriter == null)
			throw new GDataParseException("GOMWriter must not be null");
		aStreamWriter.writeSimpleXMLElement(LOCALNAME,
				getXmlNamespaceAttributes(), this.textValue);

	
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)

		if (aStreamWriter == null)
			throw new GDataParseException("GOMWriter must not be null");
		aStreamWriter.writeSimpleXMLElement(ATOM_QNAME,
				getXmlNamespaceAttributes(), this.textValue);

	
public voidwriteRssOutput(org.apache.lucene.gdata.gom.writer.GOMOutputWriter aStreamWriter, java.lang.String aRssName)

see
org.apache.lucene.gdata.gom.core.AbstractGOMElement#writeRssOutput(org.apache.lucene.gdata.gom.writer.GOMOutputWriter, java.lang.String)

		if (aStreamWriter == null)
			throw new GDataParseException("GOMWriter must not be null");
		aStreamWriter.writeSimpleXMLElement(aRssName,
				getXmlNamespaceAttributes(), this.textValue);