|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.spreadsheet.ColCount
public class ColCount
GData schema extension describing a spreadsheet's column count.
Field Summary | |
---|---|
static java.lang.String |
TAG_NAME
The name of the XML tag. |
Constructor Summary | |
---|---|
ColCount()
Initializes to blank for XML parsing. |
|
ColCount(int count)
Initializes to a particular count. |
Method Summary | |
---|---|
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,
java.lang.String namespace,
java.lang.String localName,
org.xml.sax.Attributes attrs)
Yields an XML handler for parsing a Cell element. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TAG_NAME
Constructor Detail |
---|
public ColCount()
public ColCount(int count)
Method Detail |
---|
public int getCount()
public static ExtensionDescription getDefaultDescription()
public void generate(XmlWriter w, ExtensionProfile extProfile) throws java.io.IOException
generate
in interface Extension
w
- XML writerextProfile
- extension profile
java.io.IOException
public XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, java.lang.String namespace, java.lang.String localName, org.xml.sax.Attributes attrs) throws ParseException, java.io.IOException
getHandler
in interface Extension
extProfile
- extension profilenamespace
- extension namespacelocalName
- tag name, without the namespace prefixattrs
- tag attributes
ParseException
- when an unexpected tag or badly-formatted
XML is detected
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |