/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* $Id: ToTextSAXHandler.java,v 1.3 2005/09/28 13:49:08 pvedula Exp $
*/
/**
* This class converts SAX-like event to SAX events for
* xsl:output method "text".
*
* This class is only to be used internally. This class is not a public API.
*
* @xsl.usage internal
*/
{
/**
* From XSLTC
* @see ExtendedContentHandler#endElement(String)
*/
{
super.fireEndElem(elemName);
}
/**
* @see org.xml.sax.ContentHandler#endElement(String, String, String)
*/
throws SAXException
{
super.fireEndElem(arg2);
}
{
}
/**
* From XSLTC
*/
{
}
{
}
{
{
}
}
/**
* @see Serializer#getOutputFormat()
*/
{
return null;
}
/**
* @see Serializer#getOutputStream()
*/
{
return null;
}
/**
* @see Serializer#getWriter()
*/
{
return null;
}
/**
* Does nothing because
* the indent attribute is ignored for text output.
*
*/
{
}
/**
* @see Serializer#reset()
*/
public boolean reset()
{
return false;
}
/**
* @see DOMSerializer#serialize(Node)
*/
{
}
/**
* @see SerializationHandler#setEscaping(boolean)
*/
{
return false;
}
/**
* @see SerializationHandler#setIndent(boolean)
*/
{
}
/**
* @see Serializer#setOutputFormat(Properties)
*/
{
}
/**
* @see Serializer#setOutputStream(OutputStream)
*/
{
}
/**
* @see Serializer#setWriter(Writer)
*/
{
}
/**
* @see ExtendedContentHandler#addAttribute(String, String, String, String, String)
*/
public void addAttribute(
boolean XSLAttribute)
{
}
/**
* @see org.xml.sax.ext.DeclHandler#attributeDecl(String, String, String, String, String)
*/
public void attributeDecl(
throws SAXException
{
}
/**
* @see org.xml.sax.ext.DeclHandler#elementDecl(String, String)
*/
{
}
/**
* @see org.xml.sax.ext.DeclHandler#externalEntityDecl(String, String, String)
*/
throws SAXException
{
}
/**
* @see org.xml.sax.ext.DeclHandler#internalEntityDecl(String, String)
*/
throws SAXException
{
}
/**
* @see org.xml.sax.ContentHandler#endPrefixMapping(String)
*/
{
}
/**
* @see org.xml.sax.ContentHandler#ignorableWhitespace(char[], int, int)
*/
throws SAXException
{
}
/**
* From XSLTC
* @see org.xml.sax.ContentHandler#processingInstruction(String, String)
*/
throws SAXException
{
}
/**
* @see org.xml.sax.ContentHandler#setDocumentLocator(Locator)
*/
{
super.setDocumentLocator(arg0);
}
/**
* @see org.xml.sax.ContentHandler#skippedEntity(String)
*/
{
}
/**
* @see org.xml.sax.ContentHandler#startElement(String, String, String, Attributes)
*/
public void startElement(
throws SAXException
{
flushPending();
}
/**
* @see org.xml.sax.ext.LexicalHandler#endCDATA()
*/
{
}
/**
* @see org.xml.sax.ext.LexicalHandler#endDTD()
*/
{
}
/**
* @see org.xml.sax.ext.LexicalHandler#startCDATA()
*/
{
}
/**
* @see org.xml.sax.ext.LexicalHandler#startEntity(String)
*/
{
}
/**
* From XSLTC
* @see ExtendedContentHandler#startElement(String)
*/
public void startElement(
{
}
public void startElement(
{
super.startElement(elementName);
}
/**
* From XSLTC
* @see org.xml.sax.ContentHandler#endDocument()
*/
flushPending();
super.fireEndDoc();
}
/**
*
* @see ExtendedContentHandler#characters(String)
*/
throws SAXException
{
{
}
}
/**
* @see org.xml.sax.ContentHandler#characters(char[], int, int)
*/
throws SAXException
{
// time to fire off characters event
}
/**
* From XSLTC
*/
{
// do nothing
}
public boolean startPrefixMapping(
boolean shouldFlush)
throws SAXException
{
// no namespace support for HTML
return false;
}
{
// no namespace support for HTML
}
public void namespaceAfterStartElement(
throws SAXException
{
// no namespace support for HTML
}
}