| org.apache.cocoon.xml.AbstractXMLProducer org.apache.cocoon.xml.AbstractXMLPipe org.apache.cocoon.xml.WhitespaceFilter
WhitespaceFilter | public class WhitespaceFilter extends AbstractXMLPipe (Code) | | A SAX filter to remove whitespace character, which disturb the
XML matching process.
author: Stephan Michels version: CVS $Id: WhitespaceFilter.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
public void | characters(char c, int start, int len) Receive notification of character data. | public void | comment(char ch, int start, int len) Report an XML comment anywhere in the document. | public void | endElement(String uri, String loc, String raw) Receive notification of the end of an element. | public void | ignorableWhitespace(char c, int start, int len) Receive notification of ignorable whitespace in element content. | public void | processingInstruction(String target, String data) Receive notification of a processing instruction. | public void | pushText() | public void | startElement(String namespaceURI, String localName, String qName, Attributes atts) Receive notification of the beginning of an element. |
WhitespaceFilter | public WhitespaceFilter(ContentHandler handler)(Code) | | Create a new WhitespaceFilter.
Parameters: handler - Content handler. |
characters | public void characters(char c, int start, int len) throws SAXException(Code) | | Receive notification of character data.
|
comment | public void comment(char ch, int start, int len) throws SAXException(Code) | | Report an XML comment anywhere in the document.
Parameters: ch - An array holding the characters in the comment. Parameters: start - The starting position in the array. Parameters: len - The number of characters to use from the array. |
ignorableWhitespace | public void ignorableWhitespace(char c, int start, int len) throws SAXException(Code) | | Receive notification of ignorable whitespace in element content.
|
processingInstruction | public void processingInstruction(String target, String data) throws SAXException(Code) | | Receive notification of a processing instruction.
|
Methods inherited from org.apache.cocoon.xml.AbstractXMLPipe | public void characters(char c, int start, int len) throws SAXException(Code)(Java Doc) public void comment(char ch, int start, int len) throws SAXException(Code)(Java Doc) public void endCDATA() throws SAXException(Code)(Java Doc) public void endDTD() throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String loc, String raw) throws SAXException(Code)(Java Doc) public void endEntity(String name) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char c, int start, int len) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startCDATA() throws SAXException(Code)(Java Doc) public void startDTD(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String loc, String raw, Attributes a) throws SAXException(Code)(Java Doc) public void startEntity(String name) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc)
|
|
|