|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
wizx.util.WizardParser
This class reads in a given XML file and parses it to create a Wizard.. The XML file must contain just one wizard, or no guarantees!
| Field Summary |
| Fields inherited from interface wizx.util.SettingsConstants |
BACK_TEXT, BACKGROUND, CARET_BLINK_RATE, CARET_WIDTH, FONT_ATTRIBUTES, FONT_FACE, FONT_SIZE, HEADING_FONT_COLOR, HOME_TEXT, LOGGER_CLASS, LOGGER_DIRECTORY, LOGGER_PARAM, NEXT_TEXT, NORMAL_FONT_COLOR, QUIT_TEXT, SCROLLBAR_WIDTH, TITLE, TOC_TEXT |
| Constructor Summary | |
WizardParser(java.lang.String filename,
Settings settings)
Constructs a Wizard from the given file. |
|
| Method Summary | |
protected javax.xml.parsers.DocumentBuilder |
getBuilder()
This obtains a document builder suitable for settings. |
Wizard |
getWizard()
Returns the Wizard object that this parser created. |
java.util.Map |
pages()
|
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WizardParser(java.lang.String filename,
Settings settings)
filename - The filename of XML file in the resources classpath.| Method Detail |
protected javax.xml.parsers.DocumentBuilder getBuilder()
throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationExceptionpublic Wizard getWizard()
public java.util.Map pages()
|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.