org.apache.xalan.processor

Class ProcessorCharacters

public class ProcessorCharacters extends XSLTElementProcessor

This class processes character events for a XSLT template element.

See Also: XSLT DTD section-Creating-the-Result-Tree in XSLT Specification

Method Summary
voidcharacters(StylesheetHandler handler, char[] ch, int start, int length)
Receive notification of character data inside an element.
voidendElement(StylesheetHandler handler, String uri, String localName, String rawName)
Receive notification of the end of an element.
voidstartNonText(StylesheetHandler handler)
Receive notification of the start of the non-text event.

Method Detail

characters

public void characters(StylesheetHandler handler, char[] ch, int start, int length)
Receive notification of character data inside an element.

Parameters: handler non-null reference to current StylesheetHandler that is constructing the Templates. ch The characters. start The start position in the character array. length The number of characters to use from the character array.

Throws: org.xml.sax.SAXException Any SAX exception, possibly wrapping another exception.

See Also: org.xml.sax.ContentHandler#characters

endElement

public void endElement(StylesheetHandler handler, String uri, String localName, String rawName)
Receive notification of the end of an element.

Parameters: handler The calling StylesheetHandler/TemplatesBuilder. uri The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed. localName The local name (without prefix), or the empty string if Namespace processing is not being performed. rawName The raw XML 1.0 name (with prefix), or the empty string if raw names are not available.

See Also: StylesheetHandler StylesheetHandler org.xml.sax.ContentHandler#startElement org.xml.sax.ContentHandler#endElement org.xml.sax.Attributes

startNonText

public void startNonText(StylesheetHandler handler)
Receive notification of the start of the non-text event. This is sent to the current processor when any non-text event occurs.

Parameters: handler non-null reference to current StylesheetHandler that is constructing the Templates.

Copyright B) 2005 Apache XML Project. All Rights Reserved.