public class ConfigReaderServer extends TreeParser.NodeListener implements XMLReader
server
configuration XML element reader.
Modifier and Type | Field and Description |
---|---|
private String |
actualLibID
Library ID.
|
private ConfigReaderClasspath |
classpathReader
classpath library configuration XML element reader. |
private ConfigReaderTools |
configReaderTools
Tools configuration XML element reader.
|
private ConfigReaderJavadocs |
javadocsReader
javadocs library configuration XML element reader. |
private ConfigReaderJavaEE |
javaEEReader
Java EE configuration XML element reader.
|
private ConfigReaderJavaSE |
javaSEReader
Java SE configuration XML element reader.
|
private List<LibraryNode> |
libraries
Libraries read from XML file.
|
private ConfigReaderSources |
sourcesReader
sources library configuration XML element reader. |
Constructor and Description |
---|
ConfigReaderServer() |
Modifier and Type | Method and Description |
---|---|
void |
endNode(String qname)
Finish
javaee element processing. |
JavaEESet |
getJavaEE()
Get JavaEE set for GlassFish features configuration read from XML.
|
JavaSESet |
getJavaSE()
Get JavaSE set for GlassFish features configuration read from XML.
|
List<LibraryNode> |
getLibraries()
Get libraries read from XML file.
|
List<TreeParser.Path> |
getPathsToListen()
Provide paths to listen on.
|
Tools |
getTools()
Get GlassFish tools configuration read from XML.
|
void |
readAttributes(String qname,
Attributes attributes)
Process attributes from current XML element.
|
readCData, readChildren
private ConfigReaderClasspath classpathReader
classpath
library configuration XML element reader.private ConfigReaderJavadocs javadocsReader
javadocs
library configuration XML element reader.private ConfigReaderSources sourcesReader
sources
library configuration XML element reader.private ConfigReaderJavaSE javaSEReader
private ConfigReaderJavaEE javaEEReader
private ConfigReaderTools configReaderTools
private List<LibraryNode> libraries
private String actualLibID
public List<TreeParser.Path> getPathsToListen()
server
element and it's content.
getPathsToListen
in interface XMLReader
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 void endNode(String qname) throws SAXException
javaee
element processing.
endNode
in class TreeParser.NodeListener
name
- Current XML element name.ServerConfigException
- when more than one javaee
XML elements were found.SAXException
public List<LibraryNode> getLibraries()
public JavaEESet getJavaEE()
public JavaSESet getJavaSE()
public Tools getTools()
Copyright © 2013. All Rights Reserved.