A C D F G I L N P R S T U X

A

addChildElement(DOMElement) - Method in class com.sunwesttek.xml.SimpleDOMElement
Add an element as a child of the current element.
addSection(String, ConfigSection) - Method in class com.sunwesttek.util.config.XMLConfig
Add a new section into config.

C

com.sunwesttek.util.config - package com.sunwesttek.util.config
 
com.sunwesttek.xml - package com.sunwesttek.xml
 
ConfigSection - class com.sunwesttek.util.config.ConfigSection.
Every section of the configuration needs to extend this class to define application specific configuration parameters.
createDOMParser() - Method in class com.sunwesttek.xml.DOMParserFactory
Create a DOM parser.

D

DOMElement - interface com.sunwesttek.xml.DOMElement.
DOMElement is a highly-simplified XML DOM element abstraction.
DOMParser - interface com.sunwesttek.xml.DOMParser.
DOMParser is a highly-simplified XML DOM parser abstraction.
DOMParserFactory - class com.sunwesttek.xml.DOMParserFactory.
DOMParserFactory is the factory for DOM parsers.
DOMParserFactory() - Constructor for class com.sunwesttek.xml.DOMParserFactory
Construct a DOMParserFactory.
DuplicateConfigSectionException - exception com.sunwesttek.util.config.DuplicateConfigSectionException.
DuplicateConfigSectionException is thrown when a config section with the same name exists.
DuplicateConfigSectionException(String) - Constructor for class com.sunwesttek.util.config.DuplicateConfigSectionException
Construct a DuplicateConfigSectionException.

F

fromXML(String, boolean) - Static method in class com.sunwesttek.util.config.XMLConfig
Create a config object from the specified XML string.

G

getAllSectionNames() - Method in class com.sunwesttek.util.config.XMLConfig
Get all section names of the config.
getAllSections() - Method in class com.sunwesttek.util.config.XMLConfig
Get all sections of the config.
getAttribute(String) - Method in class com.sunwesttek.xml.SimpleDOMElement
Get the value of the attribute with specified name.
getAttribute(String) - Method in interface com.sunwesttek.xml.DOMElement
Get the value of the attribute with specified name.
getChildElements() - Method in class com.sunwesttek.xml.SimpleDOMElement
Get all the child elements of the current element.
getChildElements() - Method in interface com.sunwesttek.xml.DOMElement
Get all the child elements of the current element.
getChildElementsByTagName(String) - Method in class com.sunwesttek.xml.SimpleDOMElement
Get all the child elements of the current element with specified tag name.
getChildElementsByTagName(String) - Method in interface com.sunwesttek.xml.DOMElement
Get all the child elements of the current element with specified tag name.
getDescription() - Method in class com.sunwesttek.util.config.ConfigSection
Get the description for the config section.
getEncoding() - Method in class com.sunwesttek.util.config.XMLConfig
Get encoding.
getIndent() - Method in class com.sunwesttek.util.config.XMLConfig
Get indent.
getSection(int) - Method in class com.sunwesttek.util.config.XMLConfig
Get section in config with specified index.
getSection(String) - Method in class com.sunwesttek.util.config.XMLConfig
Get section in config with specified name.
getTagName() - Method in class com.sunwesttek.xml.SimpleDOMElement
Get the tag name of the element.
getTagName() - Method in interface com.sunwesttek.xml.DOMElement
Get the tag name of the element.
getText() - Method in class com.sunwesttek.xml.SimpleDOMElement
Get the text of the element.
getText() - Method in interface com.sunwesttek.xml.DOMElement
Get the text of the element.

I

InvalidConfigParamException - exception com.sunwesttek.util.config.InvalidConfigParamException.
InvalidConfigParamException is thrown if the config section does not comply with the requirements.
InvalidConfigParamException(String) - Constructor for class com.sunwesttek.util.config.InvalidConfigParamException
Construct an InvalidConfigParamException.
InvalidConfigSyntaxException - exception com.sunwesttek.util.config.InvalidConfigSyntaxException.
InvalidConfigSyntaxException is thrown if error is detected when parsing the XML input.
InvalidConfigSyntaxException(String) - Constructor for class com.sunwesttek.util.config.InvalidConfigSyntaxException
Construct an InvalidConfigSyntaxException.
isValidating() - Method in class com.sunwesttek.xml.SimpleDOMParser
Indicates the parser is validating the XML document.
isValidating() - Method in interface com.sunwesttek.xml.DOMParser
Indicates the parser is validating the XML document.

L

load(File, boolean) - Static method in class com.sunwesttek.util.config.XMLConfig
Create a config object from the specified config file.
load(InputStream, boolean) - Static method in class com.sunwesttek.util.config.XMLConfig
Create a config object from the specified input stream.
load(Reader, boolean) - Static method in class com.sunwesttek.util.config.XMLConfig
Create a config object from the specified reader.

N

NoSuchConfigSectionException - exception com.sunwesttek.util.config.NoSuchConfigSectionException.
NoSuchConfigSectionException is thrown if specified config section can not be found.
NoSuchConfigSectionException(String) - Constructor for class com.sunwesttek.util.config.NoSuchConfigSectionException
Construct a NoSuchConfigSectionException.

P

parse(Reader) - Method in class com.sunwesttek.xml.SimpleDOMParser
Parse an XML document into a DOMElement tree.
parse(Reader) - Method in interface com.sunwesttek.xml.DOMParser
Parse an XML document into a DOMElement tree.

R

removeAllSections() - Method in class com.sunwesttek.util.config.XMLConfig
Remove all sections from config.
removeSection(String) - Method in class com.sunwesttek.util.config.XMLConfig
Remove section from config with specified name.

S

save(File) - Method in class com.sunwesttek.util.config.XMLConfig
Save config to a file.
save(OutputStream) - Method in class com.sunwesttek.util.config.XMLConfig
Save config to an output stream.
save(Writer) - Method in class com.sunwesttek.util.config.XMLConfig
Save config to a writer.
setAttribute(String, String) - Method in class com.sunwesttek.xml.SimpleDOMElement
Add/replace the value of the attribute with specified name.
setDescription(String) - Method in class com.sunwesttek.util.config.ConfigSection
Set the description for the config section.
setEncoding(String) - Method in class com.sunwesttek.util.config.XMLConfig
Set encoding.
setIndent(int) - Method in class com.sunwesttek.util.config.XMLConfig
Set indent.
setTagName(String) - Method in class com.sunwesttek.xml.SimpleDOMElement
Set the tag name of the element.
setText(String) - Method in class com.sunwesttek.xml.SimpleDOMElement
Set the text of the element.
setValidating(boolean) - Method in class com.sunwesttek.xml.DOMParserFactory
Specify if the parser to be created needs to validate XML document.
SimpleDOMElement - class com.sunwesttek.xml.SimpleDOMElement.
SimpleDOMElement is a highly-simplified XML DOM element implementation.
SimpleDOMElement(String) - Constructor for class com.sunwesttek.xml.SimpleDOMElement
Construct a SimpleDOMElement with specified tag name.
SimpleDOMParser - class com.sunwesttek.xml.SimpleDOMParser.
SimpleDOMParser is a highly-simplified XML DOM parser implementation.
SimpleDOMParser() - Constructor for class com.sunwesttek.xml.SimpleDOMParser
Construct a SimpleDOMParser.
size() - Method in class com.sunwesttek.util.config.XMLConfig
Returns the number of sections in the config.

T

toXML() - Method in class com.sunwesttek.util.config.XMLConfig
Generate XML from a config object.

U

updateSection(String, ConfigSection) - Method in class com.sunwesttek.util.config.XMLConfig
Update section with specified name in config.

X

XMLConfig - class com.sunwesttek.util.config.XMLConfig.
XMLConfig is an XML-based generic configuration management API for Java.
XMLConfig() - Constructor for class com.sunwesttek.util.config.XMLConfig
Construct a config object without description.
XMLConfig(String) - Constructor for class com.sunwesttek.util.config.XMLConfig
Construct a config object with description.

A C D F G I L N P R S T U X

Copyright (c) 2002 Sunwest Technologies. http://www.SunwestTek.com/