org.apache.cocoon.forms.transformation
Interface EffectPipe.Handler

All Known Implementing Classes:
EffectPipe.NullHandler
Enclosing interface:
EffectPipe

protected static interface EffectPipe.Handler

Handler interface. Accepts SAX events, can return other handler to replace self for further events.


Method Summary
 EffectPipe.Handler characters(char[] ch, int start, int length)
           
 EffectPipe.Handler comment(char[] c, int start, int len)
           
 EffectPipe.Handler endCDATA()
           
 void endDocument()
           
 EffectPipe.Handler endDTD()
           
 void endElement(String uri, String loc, String raw)
           
 EffectPipe.Handler endEntity(String name)
           
 void endPrefixMapping(String prefix)
           
 EffectPipe.Handler ignorableWhitespace(char[] ch, int start, int length)
           
 EffectPipe.Handler nestedElement(String uri, String loc, String raw, Attributes attrs)
          Called before startElement, handler can decide what other handler should process next startElement.
 EffectPipe.Handler processingInstruction(String target, String data)
           
 EffectPipe.Handler skippedEntity(String name)
           
 EffectPipe.Handler startCDATA()
           
 EffectPipe.Handler startDocument()
           
 EffectPipe.Handler startDTD(String name, String publicId, String systemId)
           
 EffectPipe.Handler startElement(String uri, String loc, String raw, Attributes attrs)
           
 EffectPipe.Handler startEntity(String name)
           
 void startPrefixMapping(String prefix, String uri)
           
 

Method Detail

startDocument

public EffectPipe.Handler startDocument()
                                 throws SAXException
Throws:
SAXException

endDocument

public void endDocument()
                 throws SAXException
Throws:
SAXException

startPrefixMapping

public void startPrefixMapping(String prefix,
                               String uri)
                        throws SAXException
Throws:
SAXException

endPrefixMapping

public void endPrefixMapping(String prefix)
                      throws SAXException
Throws:
SAXException

startElement

public EffectPipe.Handler startElement(String uri,
                                       String loc,
                                       String raw,
                                       Attributes attrs)
                                throws SAXException
Throws:
SAXException

nestedElement

public EffectPipe.Handler nestedElement(String uri,
                                        String loc,
                                        String raw,
                                        Attributes attrs)
                                 throws SAXException
Called before startElement, handler can decide what other handler should process next startElement.

Throws:
SAXException

endElement

public void endElement(String uri,
                       String loc,
                       String raw)
                throws SAXException
Throws:
SAXException

characters

public EffectPipe.Handler characters(char[] ch,
                                     int start,
                                     int length)
                              throws SAXException
Throws:
SAXException

ignorableWhitespace

public EffectPipe.Handler ignorableWhitespace(char[] ch,
                                              int start,
                                              int length)
                                       throws SAXException
Throws:
SAXException

processingInstruction

public EffectPipe.Handler processingInstruction(String target,
                                                String data)
                                         throws SAXException
Throws:
SAXException

skippedEntity

public EffectPipe.Handler skippedEntity(String name)
                                 throws SAXException
Throws:
SAXException

startDTD

public EffectPipe.Handler startDTD(String name,
                                   String publicId,
                                   String systemId)
                            throws SAXException
Throws:
SAXException

endDTD

public EffectPipe.Handler endDTD()
                          throws SAXException
Throws:
SAXException

startEntity

public EffectPipe.Handler startEntity(String name)
                               throws SAXException
Throws:
SAXException

endEntity

public EffectPipe.Handler endEntity(String name)
                             throws SAXException
Throws:
SAXException

startCDATA

public EffectPipe.Handler startCDATA()
                              throws SAXException
Throws:
SAXException

endCDATA

public EffectPipe.Handler endCDATA()
                            throws SAXException
Throws:
SAXException

comment

public EffectPipe.Handler comment(char[] c,
                                  int start,
                                  int len)
                           throws SAXException
Throws:
SAXException


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.