public class JavaEEModuleReader extends AbstractReader
module
Java EE configuration XML element reader.
Modifier and Type | Class and Description |
---|---|
class |
JavaEEModuleReader.Module
Java EE module values from XML element.
|
Modifier and Type | Field and Description |
---|---|
private static String |
CHECK_ATTR
check XML element attribute name. |
private List<JavaEEModuleReader.Module> |
modules
Modules retrieved from XML elements.
|
private static String |
NODE
javaee XML element name. |
private static String |
TYPE_ATTR
type XML element attribute name. |
path
Constructor and Description |
---|
JavaEEModuleReader(String pathPrefix)
Creates an instance of
module Java EE configuration
XML element reader. |
Modifier and Type | Method and Description |
---|---|
List<JavaEEModuleReader.Module> |
getModules()
Get modules retrieved from XML elements.
|
void |
readAttributes(String qname,
Attributes attributes)
Process attributes from current XML element.
|
void |
reset()
Reset this XML element reader.
|
getPath
endNode, readCData, readChildren
private static final String NODE
javaee
XML element name.private static final String TYPE_ATTR
type
XML element attribute name.private static final String CHECK_ATTR
check
XML element attribute name.private List<JavaEEModuleReader.Module> modules
JavaEEModuleReader(String pathPrefix) throws ServerConfigException
module
Java EE configuration
XML element reader.
pathPrefix
- Tree parser path prefix to be prepended before
current XML element.ServerConfigException
public void readAttributes(String qname, Attributes attributes) throws SAXException
readAttributes
in class TreeParser.NodeListener
qname
- Not used.attributes
- List of XML attributes.SAXException
- When any problem occurs.public List<JavaEEModuleReader.Module> getModules()
public void reset()
Copyright © 2013. All Rights Reserved.