public class DsParser extends AbstractParser implements MetadataParser<DataSources>
| Modifier and Type | Class and Description |
|---|---|
static class |
DsParser.Tag
A Tag.
|
| Modifier and Type | Field and Description |
|---|---|
protected static CommonBundle |
bundle
The bundle
|
| 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.
|
protected DataSource |
parseDataSource(javax.xml.stream.XMLStreamReader reader)
Parse datasource
|
protected DataSources |
parseDataSources(javax.xml.stream.XMLStreamReader reader)
Parse datasource
|
protected Driver |
parseDriver(javax.xml.stream.XMLStreamReader reader)
Parse driver
|
protected DsSecurity |
parseDsSecurity(javax.xml.stream.XMLStreamReader reader)
Parse security
|
protected Statement |
parseStatementSettings(javax.xml.stream.XMLStreamReader reader)
Parse statement
|
protected TimeOut |
parseTimeOutSettings(javax.xml.stream.XMLStreamReader reader)
Parse timeout
|
protected Validation |
parseValidationSetting(javax.xml.stream.XMLStreamReader reader)
Parse validation
|
protected XaDataSource |
parseXADataSource(javax.xml.stream.XMLStreamReader reader)
Parse XA datasource
|
attributeAsBoolean, attributeAsInt, attributeAsString, elementAsBoolean, elementAsFlushStrategy, elementAsInteger, elementAsLong, elementAsString, isSystemPropertiesResolved, parseCapacity, parseConfigProperty, parseCredential, parseExtension, parsePool, parseRecovery, parseSecuritySettings, parseXaPool, setSystemPropertiesResolvedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisSystemPropertiesResolved, setSystemPropertiesResolvedprotected static CommonBundle bundle
public 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 occursprotected DataSources parseDataSources(javax.xml.stream.XMLStreamReader reader) throws javax.xml.stream.XMLStreamException, ParserException, ValidateException
reader - The readerjavax.xml.stream.XMLStreamException - XMLStreamExceptionParserException - ParserExceptionValidateException - ValidateExceptionprotected Driver parseDriver(javax.xml.stream.XMLStreamReader reader) throws javax.xml.stream.XMLStreamException, ParserException, ValidateException
reader - The readerjavax.xml.stream.XMLStreamException - XMLStreamExceptionParserException - ParserExceptionValidateException - ValidateExceptionprotected XaDataSource parseXADataSource(javax.xml.stream.XMLStreamReader reader) throws javax.xml.stream.XMLStreamException, ParserException, ValidateException
reader - The readerjavax.xml.stream.XMLStreamException - XMLStreamExceptionParserException - ParserExceptionValidateException - ValidateExceptionprotected DsSecurity parseDsSecurity(javax.xml.stream.XMLStreamReader reader) throws javax.xml.stream.XMLStreamException, ParserException, ValidateException
reader - The readerjavax.xml.stream.XMLStreamException - XMLStreamExceptionParserException - ParserExceptionValidateException - ValidateExceptionprotected DataSource parseDataSource(javax.xml.stream.XMLStreamReader reader) throws javax.xml.stream.XMLStreamException, ParserException, ValidateException
reader - The readerjavax.xml.stream.XMLStreamException - XMLStreamExceptionParserException - ParserExceptionValidateException - ValidateExceptionprotected Validation parseValidationSetting(javax.xml.stream.XMLStreamReader reader) throws javax.xml.stream.XMLStreamException, ParserException, ValidateException
reader - The readerjavax.xml.stream.XMLStreamException - XMLStreamExceptionParserException - ParserExceptionValidateException - ValidateExceptionprotected TimeOut parseTimeOutSettings(javax.xml.stream.XMLStreamReader reader) throws javax.xml.stream.XMLStreamException, ParserException, ValidateException
reader - The readerjavax.xml.stream.XMLStreamException - XMLStreamExceptionParserException - ParserExceptionValidateException - ValidateExceptionprotected Statement parseStatementSettings(javax.xml.stream.XMLStreamReader reader) throws javax.xml.stream.XMLStreamException, ParserException, ValidateException
reader - The readerjavax.xml.stream.XMLStreamException - XMLStreamExceptionParserException - ParserExceptionValidateException - ValidateExceptionCopyright © 2013 IronJacamar (http://www.ironjacamar.org)