public class ElementCountingHandler extends DefaultHandler
| Constructor and Description |
|---|
ElementCountingHandler() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount() |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic int getCount()
Copyright © 2017. All rights reserved.