org.apache.myfaces.webapp.filter
Class WelcomeFileHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.apache.myfaces.webapp.filter.WelcomeFileHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class WelcomeFileHandler
extends org.xml.sax.helpers.DefaultHandler

DOCUMENT ME!

Version:
$Revision: 472644 $ $Date: 2006-11-08 16:04:52 -0500 (Wed, 08 Nov 2006) $
Author:
Robert J. Lebowitz (latest modification by $Author: grantsmith $)

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
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WelcomeFileHandler

public WelcomeFileHandler()
Creates a new WelcomeFileHandler object.

Method Detail

getWelcomeFiles

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

Returns:
The string array of welcome files.

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

Specified by:
characters in interface ContentHandler
Overrides:
characters in class org.xml.sax.helpers.DefaultHandler
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.
Throws:
SAXException

endElement

public void endElement(String ns,
                       String local,
                       String qName)
                throws SAXException
Method called with each end element in an XML Document

Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class org.xml.sax.helpers.DefaultHandler
Parameters:
ns - The namespace associated with this element
local - The local name of this element
qName - The qualified name of this element
Throws:
SAXException

startElement

public void startElement(String ns,
                         String local,
                         String qName,
                         Attributes atts)
                  throws SAXException
Method called with each start element in an XML document

Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class org.xml.sax.helpers.DefaultHandler
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
Throws:
SAXException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.