You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by do...@cocoon.apache.org on 2004/10/11 16:30:36 UTC

[Cocoon Wiki] Updated: WritingPipelineComponents

   Date: 2004-10-11T07:30:36
   Editor: ManFred <ma...@gmx.at>
   Wiki: Cocoon Wiki
   Page: WritingPipelineComponents
   URL: http://wiki.apache.org/cocoon/WritingPipelineComponents

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -12,25 +12,25 @@
 
 To give an idea of the different SAX-events, the !ContentHandler interface is displayed here:
 
-{{{
-package org.xml.sax;
-
-public interface ContentHandler
-{
-  public void setDocumentLocator (Locator locator);
-  public void startDocument () throws SAXException;
-  public void endDocument() throws SAXException;
-  public void startPrefixMapping (String prefix, String uri) throws SAXException;
-  public void endPrefixMapping (String prefix) throws SAXException;
-  public void startElement (String namespaceURI, String localName,
-      String qName, Attributes atts) throws SAXException;
-  public void endElement (String namespaceURI, String localName,
-      String qName) throws SAXException;
-  public void characters (char ch[], int start, int length) throws SAXException;
-  public void ignorableWhitespace (char ch[], int start, int length) throws SAXException;
-  public void processingInstruction (String target, String data) throws SAXException;
-  public void skippedEntity (String name) throws SAXException;
-}
+{{{
+package org.xml.sax;
+
+public interface ContentHandler
+{
+  public void setDocumentLocator (Locator locator);
+  public void startDocument () throws SAXException;
+  public void endDocument() throws SAXException;
+  public void startPrefixMapping (String prefix, String uri) throws SAXException;
+  public void endPrefixMapping (String prefix) throws SAXException;
+  public void startElement (String namespaceURI, String localName,
+      String qName, Attributes atts) throws SAXException;
+  public void endElement (String namespaceURI, String localName,
+      String qName) throws SAXException;
+  public void characters (char ch[], int start, int length) throws SAXException;
+  public void ignorableWhitespace (char ch[], int start, int length) throws SAXException;
+  public void processingInstruction (String target, String data) throws SAXException;
+  public void skippedEntity (String name) throws SAXException;
+}
 }}}
 
 Note that there is also another SAX event interface, the !LexicalHandler. That interface is used to pass on less important information about XML, such as comments and CDATA sections. It is however not used very often.