public class JavaEEProfileReader extends AbstractReader
profile
Java EE configuration XML element reader.
Modifier and Type | Class and Description |
---|---|
class |
JavaEEProfileReader.Profile
Java EE profile values from XML element.
|
Modifier and Type | Field and Description |
---|---|
private static String |
CHECK_ATTR
check XML element attribute name. |
private static String |
NODE
javaee XML element name. |
private List<JavaEEProfileReader.Profile> |
profiles
Profiles retrieved from XML elements.
|
private static String |
TYPE_ATTR
type XML element attribute name. |
private static String |
VERSION_ATTR
version XML element attribute name. |
path
Constructor and Description |
---|
JavaEEProfileReader(String pathPrefix)
Creates an instance of
profile Java EE configuration
XML element reader. |
Modifier and Type | Method and Description |
---|---|
List<JavaEEProfileReader.Profile> |
getProfiles()
Get profiles 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 VERSION_ATTR
version
XML element attribute 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<JavaEEProfileReader.Profile> profiles
JavaEEProfileReader(String pathPrefix) throws ServerConfigException
profile
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<JavaEEProfileReader.Profile> getProfiles()
public void reset()
Copyright © 2013. All Rights Reserved.