This project has retired. For details please refer to its
        
        Attic page.
      
org.apache.cocoon.xml
Class LoggingContentHandler
java.lang.Object
   org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.framework.logger.AbstractLogEnabled
       org.apache.cocoon.xml.LoggingContentHandler
org.apache.cocoon.xml.LoggingContentHandler
- All Implemented Interfaces: 
- LogEnabled, ContentHandler
- public class LoggingContentHandler 
- extends AbstractLogEnabled- implements ContentHandler
Logging content handler logs all events going through to the logger.
- Version:
- CVS $Id: LoggingContentHandler.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Vadim Gritsenko
 
| Method Summary | 
|  void | characters(char[] ch,
           int start,
           int len)
 | 
|  void | endDocument()
 | 
|  void | endElement(String uri,
           String loc,
           String qname)
 | 
|  void | endPrefixMapping(String prefix)
 | 
|  void | ignorableWhitespace(char[] ch,
                    int start,
                    int len)
 | 
|  void | processingInstruction(String target,
                      String data)
 | 
|  void | setDocumentLocator(Locator locator)
 | 
|  void | skippedEntity(String name)
 | 
|  void | startDocument()
 | 
|  void | startElement(String uri,
             String loc,
             String raw,
             Attributes a)
 | 
|  void | startPrefixMapping(String prefix,
                   String uri)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
LoggingContentHandler
public LoggingContentHandler(String id,
                             ContentHandler contentHandler)
- Creates new LoggingContentHandlerwith specifiedidand destinationcontentHandler.
 
setDocumentLocator
public void setDocumentLocator(Locator locator)
- 
- Specified by:
- setDocumentLocatorin interface- ContentHandler
 
- 
 
startDocument
public void startDocument()
                   throws SAXException
- 
- Specified by:
- startDocumentin interface- ContentHandler
 
- 
- Throws:
- SAXException
 
endDocument
public void endDocument()
                 throws SAXException
- 
- Specified by:
- endDocumentin interface- ContentHandler
 
- 
- Throws:
- SAXException
 
startPrefixMapping
public void startPrefixMapping(String prefix,
                               String uri)
                        throws SAXException
- 
- Specified by:
- startPrefixMappingin interface- ContentHandler
 
- 
- Throws:
- SAXException
 
endPrefixMapping
public void endPrefixMapping(String prefix)
                      throws SAXException
- 
- Specified by:
- endPrefixMappingin interface- ContentHandler
 
- 
- Throws:
- SAXException
 
startElement
public void startElement(String uri,
                         String loc,
                         String raw,
                         Attributes a)
                  throws SAXException
- 
- Specified by:
- startElementin interface- ContentHandler
 
- 
- Throws:
- SAXException
 
endElement
public void endElement(String uri,
                       String loc,
                       String qname)
                throws SAXException
- 
- Specified by:
- endElementin interface- ContentHandler
 
- 
- Throws:
- SAXException
 
characters
public void characters(char[] ch,
                       int start,
                       int len)
                throws SAXException
- 
- Specified by:
- charactersin interface- ContentHandler
 
- 
- Throws:
- SAXException
 
ignorableWhitespace
public void ignorableWhitespace(char[] ch,
                                int start,
                                int len)
                         throws SAXException
- 
- Specified by:
- ignorableWhitespacein interface- ContentHandler
 
- 
- Throws:
- SAXException
 
processingInstruction
public void processingInstruction(String target,
                                  String data)
                           throws SAXException
- 
- Specified by:
- processingInstructionin interface- ContentHandler
 
- 
- Throws:
- SAXException
 
skippedEntity
public void skippedEntity(String name)
                   throws SAXException
- 
- Specified by:
- skippedEntityin interface- ContentHandler
 
- 
- Throws:
- SAXException
 
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.