org.apache.myfaces.webapp.filter

Class WelcomeFileHandler


public class WelcomeFileHandler
extends DefaultHandler

DOCUMENT ME!
Version:
$Revision: 167257 $ $Date: 2004-10-13 13:51:02 +0200 (Wed, 13 Oct 2004) $
Author:
Robert J. Lebowitz (latest modification by $Author: matze $)

Constructor Summary

WelcomeFileHandler()
Creates a new WelcomeFileHandler object.

Method Summary

void
characters(char[] ch, int start, int length)
Method used to examine, modify or extract text in body of an element
void
endElement(String ns, String local, String qName)
Method called with each end element in an XML Document
String[]
getWelcomeFiles()
Accessor method used to get the array of welcome files.
void
startElement(String ns, String local, String qName, Attributes atts)
Method called with each start element in an XML document

Constructor Details

WelcomeFileHandler

public WelcomeFileHandler()
Creates a new WelcomeFileHandler object.

Method Details

characters

public void characters(char[] ch,
                       int start,
                       int length)
            throws SAXException
Method used to examine, modify or extract text in body of an element
Parameters:
ch - character array containing the tag's body information.
start - starting index of the body text in the character array.
length - length of the text found in the body.

endElement

public void endElement(String ns,
                       String local,
                       String qName)
            throws SAXException
Method called with each end element in an XML Document
Parameters:
ns - The namespace associated with this element
local - The local name of this element
qName - The qualified name of this element

getWelcomeFiles

public String[] getWelcomeFiles()
Accessor method used to get the array of welcome files.
Returns:
The string array of welcome files.

startElement

public void startElement(String ns,
                         String local,
                         String qName,
                         Attributes atts)
            throws SAXException
Method called with each start element in an XML document
Parameters:
ns - The namespace associated with this element
local - The local name of this element
qName - The qualified name of this element
atts - Attributes associated with this element