public class DsParser extends AbstractParser implements MetadataParser<DataSources>
| Modifier and Type | Class and Description |
|---|---|
static class |
DsParser.Tag
A Tag.
|
| Constructor and Description |
|---|
DsParser() |
| Modifier and Type | Method and Description |
|---|---|
DataSources |
parse(java.io.InputStream xmlInputStream)
Parse the xml file and return the JCAMetaData for which the concrete parser is designed.
|
DataSources |
parse(javax.xml.stream.XMLStreamReader reader)
Parse the xml file and return the JCAMetaData for which the concrete parser is designed.
|
attributeAsBoolean, attributeAsInt, attributeAsString, elementAsBoolean, elementAsFlushStrategy, elementAsInteger, elementAsLong, elementAsString, parseCredential, parseExtension, parsePool, parseRecovery, parseSecuritySettings, parseXaPoolpublic DataSources parse(java.io.InputStream xmlInputStream) throws java.lang.Exception
MetadataParserparse in interface MetadataParser<DataSources>xmlInputStream - an InputStrema opened on the xml file to parsejava.lang.Exception - Thrown if an error occurspublic DataSources parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception
MetadataParserparse in interface MetadataParser<DataSources>reader - an XMLStreamReader opened on the xml file to parsejava.lang.Exception - Thrown if an error occursCopyright ? 2008 Red Hat Middleware LLC (http://www.jboss.com/)