@NotThreadSafe public class GrokHandler extends DefaultHandler
| Constructor and Description |
|---|
GrokHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Collects the body text of the node being processed.
|
void |
endElement(String uri,
String localName,
String qName)
Handles the end element event.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes)
Handles the start element event.
|
endDocument, 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 DefaultHandleruri - the uri of the element being processedlocalName - the local name of the element being processedqName - the qName of the element being processedattributes - the attributes of the element being processedSAXException - thrown if there is an exception processingpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandleruri - the URI of the elementlocalName - the local name of the elementqName - the qName of the elementSAXException - thrown if there is an exception processingpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerch - the char array of textstart - the start position to copy text from in the char arraylength - the number of characters to copy from the char arraySAXException - thrown if there is a parsing exceptionCopyright © 2012–2020 OWASP. All rights reserved.