Class LogManagerHandler

    • Field Detail

      • locator

        protected org.xml.sax.Locator locator
      • maxLineNumber

        protected int maxLineNumber
    • Constructor Detail

      • LogManagerHandler

        public LogManagerHandler()
    • Method Detail

      • processInnerLogEntry

        public abstract void processInnerLogEntry​(InnerLogEntry logEntry)
        Process an InnerLogEntry
        Parameters:
        logEntry - the InnerLogEntry to process
        Since:
        jcms-4.0.2
      • processStorableLogEntry

        public abstract void processStorableLogEntry​(StorableLogEntry logEntry)
        Process a StorableLogEntry
        Parameters:
        logEntry - the StorableLogEntry to process
        Since:
        jcms-4.0.2
      • handleLogEntryException

        public void handleLogEntryException​(LogEntry logEntry)
        This method is called when an exception is caught while processing a logEntry
        Parameters:
        logEntry - the logEntry
        Since:
        jcms-4.0.2
      • getMaxLineNumber

        public int getMaxLineNumber()
        Returns:
        the max line number read
        Since:
        jcms-5.0.0
      • startElement

        public void startElement​(java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 java.lang.String qName,
                                 org.xml.sax.Attributes atts)
        Specified by:
        startElement in interface org.xml.sax.ContentHandler
      • setDocumentLocator

        public void setDocumentLocator​(org.xml.sax.Locator locator)
        Specified by:
        setDocumentLocator in interface org.xml.sax.ContentHandler
      • endDocument

        public void endDocument()
                         throws org.xml.sax.SAXException
        Specified by:
        endDocument in interface org.xml.sax.ContentHandler
        Throws:
        org.xml.sax.SAXException
      • startDocument

        public void startDocument()
                           throws org.xml.sax.SAXException
        Specified by:
        startDocument in interface org.xml.sax.ContentHandler
        Throws:
        org.xml.sax.SAXException
      • endElement

        public void endElement​(java.lang.String namespaceURI,
                               java.lang.String localName,
                               java.lang.String rawName)
                        throws org.xml.sax.SAXException
        Specified by:
        endElement in interface org.xml.sax.ContentHandler
        Throws:
        org.xml.sax.SAXException
      • characters

        public void characters​(char[] ch,
                               int start,
                               int length)
                        throws org.xml.sax.SAXException
        Specified by:
        characters in interface org.xml.sax.ContentHandler
        Throws:
        org.xml.sax.SAXException
      • ignorableWhitespace

        public void ignorableWhitespace​(char[] ch,
                                        int start,
                                        int length)
                                 throws org.xml.sax.SAXException
        Specified by:
        ignorableWhitespace in interface org.xml.sax.ContentHandler
        Throws:
        org.xml.sax.SAXException
      • processingInstruction

        public void processingInstruction​(java.lang.String target,
                                          java.lang.String data)
                                   throws org.xml.sax.SAXException
        Specified by:
        processingInstruction in interface org.xml.sax.ContentHandler
        Throws:
        org.xml.sax.SAXException
      • startPrefixMapping

        public void startPrefixMapping​(java.lang.String prefix,
                                       java.lang.String uri)
        Specified by:
        startPrefixMapping in interface org.xml.sax.ContentHandler
      • endPrefixMapping

        public void endPrefixMapping​(java.lang.String prefix)
                              throws org.xml.sax.SAXException
        Specified by:
        endPrefixMapping in interface org.xml.sax.ContentHandler
        Throws:
        org.xml.sax.SAXException
      • skippedEntity

        public void skippedEntity​(java.lang.String name)
                           throws org.xml.sax.SAXException
        Specified by:
        skippedEntity in interface org.xml.sax.ContentHandler
        Throws:
        org.xml.sax.SAXException
      • warning

        public void warning​(org.xml.sax.SAXParseException ex)
        Warning
      • error

        public void error​(org.xml.sax.SAXParseException ex)
        Error
      • fatalError

        public void fatalError​(org.xml.sax.SAXParseException ex)
                        throws org.xml.sax.SAXException
        Fatal Error
        Throws:
        org.xml.sax.SAXException