Package ch.qos.logback.core.joran.event
Class SaxEventRecorder
java.lang.Object
org.xml.sax.helpers.DefaultHandler
ch.qos.logback.core.joran.event.SaxEventRecorder
- All Implemented Interfaces:
ContextAware
,ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
-
Constructor Summary
ConstructorDescriptionSaxEventRecorder
(Context context) SaxEventRecorder
(Context context, ElementPath elementPath) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
characters
(char[] ch, int start, int length) void
endElement
(String namespaceURI, String localName, String qName) void
error
(SAXParseException spe) void
final void
recordEvents
(InputStream inputStream) void
recordEvents
(InputSource inputSource) void
setContext
(Context context) void
protected boolean
shouldIgnoreForElementPath
(String tagName) void
void
startElement
(String namespaceURI, String localName, String qName, Attributes atts) void
warning
(SAXParseException spe) Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, unparsedEntityDecl
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
SaxEventRecorder
-
SaxEventRecorder
-
-
Method Details
-
recordEvents
- Throws:
JoranException
-
recordEvents
- Throws:
JoranException
-
startDocument
- Specified by:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classDefaultHandler
-
getLocator
-
setDocumentLocator
- Specified by:
setDocumentLocator
in interfaceContentHandler
- Overrides:
setDocumentLocator
in classDefaultHandler
-
shouldIgnoreForElementPath
-
startElement
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
-
characters
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
-
error
- Specified by:
error
in interfaceErrorHandler
- Overrides:
error
in classDefaultHandler
- Throws:
SAXException
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
- Overrides:
fatalError
in classDefaultHandler
- Throws:
SAXException
-
warning
- Specified by:
warning
in interfaceErrorHandler
- Overrides:
warning
in classDefaultHandler
- Throws:
SAXException
-
addError
- Specified by:
addError
in interfaceContextAware
-
addError
- Specified by:
addError
in interfaceContextAware
-
addInfo
- Specified by:
addInfo
in interfaceContextAware
-
addInfo
- Specified by:
addInfo
in interfaceContextAware
-
addStatus
- Specified by:
addStatus
in interfaceContextAware
-
addWarn
- Specified by:
addWarn
in interfaceContextAware
-
addWarn
- Specified by:
addWarn
in interfaceContextAware
-
getContext
- Specified by:
getContext
in interfaceContextAware
-
setContext
- Specified by:
setContext
in interfaceContextAware
-
getSaxEventList
-