Class TagCountHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.apache.camel.quarkus.component.stax.it.TagCountHandler
-
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
public class TagCountHandler extends DefaultHandler
-
-
Constructor Summary
Constructors Constructor Description TagCountHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()voidstartElement(String uri, String localName, String qName, Attributes attributes)-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Method Detail
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
getCount
public int getCount()
-
-