Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG_NAME
The name of the XML tag.
|
Constructor and Description |
---|
RowCount()
Initializes to blank for XML parsing.
|
RowCount(int count)
Initializes to a particular count.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final java.lang.String TAG_NAME
public RowCount()
public RowCount(int count)
public int getCount()
public static ExtensionDescription getDefaultDescription()
public void generate(XmlWriter w, ExtensionProfile extProfile) throws 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 attributesParseException
- when an unexpected tag or badly-formatted
XML is detectedjava.io.IOException