public class WelcomeFileHandler
extends org.xml.sax.helpers.DefaultHandler
| Constructor and Description |
|---|
WelcomeFileHandler()
Creates a new WelcomeFileHandler object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Method used to examine, modify or extract text in body of an element
|
void |
endElement(java.lang.String ns,
java.lang.String local,
java.lang.String qName)
Method called with each end element in an XML Document
|
java.lang.String[] |
getWelcomeFiles()
Accessor method used to get the array of welcome files.
|
void |
startElement(java.lang.String ns,
java.lang.String local,
java.lang.String qName,
org.xml.sax.Attributes atts)
Method called with each start element in an XML document
|
public WelcomeFileHandler()
public java.lang.String[] getWelcomeFiles()
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerch - 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.org.xml.sax.SAXExceptionpublic void endElement(java.lang.String ns,
java.lang.String local,
java.lang.String qName)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerns - The namespace associated with this elementlocal - The local name of this elementqName - The qualified name of this elementorg.xml.sax.SAXExceptionpublic void startElement(java.lang.String ns,
java.lang.String local,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerns - The namespace associated with this elementlocal - The local name of this elementqName - The qualified name of this elementatts - Attributes associated with this elementorg.xml.sax.SAXException