public class

ColCount

extends Object
implements Extension
java.lang.Object
   ↳ com.google.gdata.data.spreadsheet.ColCount

Class Overview

GData schema extension describing a spreadsheet's column count.

Summary

Constants
String TAG_NAME The name of the XML tag.
Fields
private int count The count.
Public Constructors
ColCount()
Initializes to blank for XML parsing.
ColCount(int count)
Initializes to a particular count.
Public Methods
void generate(XmlWriter w, ExtensionProfile extProfile)
Writes this cell as XML, omitting any unspecified fields.
int getCount()
Gets the total count.
static ExtensionDescription getDefaultDescription()
Returns the suggested extension description.
XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)
Yields an XML handler for parsing a Cell element.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gdata.data.Extension

Constants

public static final String TAG_NAME

The name of the XML tag.

Constant Value: "colCount"

Fields

private int count

The count.

Public Constructors

public ColCount ()

Initializes to blank for XML parsing.

public ColCount (int count)

Initializes to a particular count.

Parameters
count

Public Methods

public void generate (XmlWriter w, ExtensionProfile extProfile)

Writes this cell as XML, omitting any unspecified fields.

Parameters
w XML writer
extProfile Extension profile
Throws
IOException

public int getCount ()

Gets the total count.

public static ExtensionDescription getDefaultDescription ()

Returns the suggested extension description.

public XmlParser.ElementHandler getHandler (ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)

Yields an XML handler for parsing a Cell element.

Parameters
extProfile Extension profile
namespace Extension namespace
localName Tag name, without the namespace prefix
attrs Tag attributes
Returns
  • an element handler
Throws
IOException
ParseException