public class JavaSEPlatformReader extends AbstractReader
platform
Java SE configuration XML element reader.
Modifier and Type | Field and Description |
---|---|
private static String |
NODE
platform XML element name. |
private List<String> |
platforms
Platforms retrieved from XML elements.
|
private static String |
VERSION_ATTR
type XML element attribute name. |
path
Constructor and Description |
---|
JavaSEPlatformReader(String pathPrefix)
Creates an instance of
platform Java EE configuration
XML element reader. |
Modifier and Type | Method and Description |
---|---|
List<String> |
getPlatforms()
Get platforms 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
platform
XML element name.private static final String VERSION_ATTR
type
XML element attribute name.JavaSEPlatformReader(String pathPrefix) throws ServerConfigException
platform
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<String> getPlatforms()
public void reset()
Copyright © 2013. All Rights Reserved.