|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.common.metadata.AbstractParser
org.jboss.jca.common.metadata.ds.v10.DsParser
public class DsParser

A DsParser.
| Nested Class Summary | |
|---|---|
static class |
DsParser.Tag
A Tag. |
| Field Summary | |
|---|---|
protected static CommonBundle |
bundle
The bundle |
| Constructor Summary | |
|---|---|
DsParser()
|
|
| Method Summary | |
|---|---|
org.jboss.jca.common.api.metadata.ds.DataSources |
parse(InputStream xmlInputStream)
Parse the xml file and return the JCAMetaData for which the concrete parser is designed. |
org.jboss.jca.common.api.metadata.ds.DataSources |
parse(XMLStreamReader reader)
Parse the xml file and return the JCAMetaData for which the concrete parser is designed. |
protected org.jboss.jca.common.api.metadata.ds.DataSource |
parseDataSource(XMLStreamReader reader)
Parse datasource |
protected org.jboss.jca.common.api.metadata.ds.DataSources |
parseDataSources(XMLStreamReader reader)
Parse datasource |
protected org.jboss.jca.common.api.metadata.ds.Driver |
parseDriver(XMLStreamReader reader)
Parse driver |
protected org.jboss.jca.common.api.metadata.ds.DsSecurity |
parseDsSecurity(XMLStreamReader reader)
Parse security |
protected org.jboss.jca.common.api.metadata.ds.Statement |
parseStatementSettings(XMLStreamReader reader)
Parse statement |
protected org.jboss.jca.common.api.metadata.ds.TimeOut |
parseTimeOutSettings(XMLStreamReader reader)
Parse timeout |
protected org.jboss.jca.common.api.metadata.ds.Validation |
parseValidationSetting(XMLStreamReader reader)
Parse validation |
protected org.jboss.jca.common.api.metadata.ds.XaDataSource |
parseXADataSource(XMLStreamReader reader)
Parse XA datasource |
| Methods inherited from class org.jboss.jca.common.metadata.AbstractParser |
|---|
attributeAsBoolean, attributeAsInt, attributeAsString, elementAsBoolean, elementAsFlushStrategy, elementAsInteger, elementAsLong, elementAsString, isSystemPropertiesResolved, parseConfigProperty, parseCredential, parseExtension, parsePool, parseRecovery, parseSecuritySettings, parseXaPool, setSystemPropertiesResolved |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.jca.common.metadata.MetadataParser |
|---|
isSystemPropertiesResolved, setSystemPropertiesResolved |
| Field Detail |
|---|
protected static CommonBundle bundle
| Constructor Detail |
|---|
public DsParser()
| Method Detail |
|---|
public org.jboss.jca.common.api.metadata.ds.DataSources parse(InputStream xmlInputStream)
throws Exception
MetadataParser
parse in interface MetadataParser<org.jboss.jca.common.api.metadata.ds.DataSources>xmlInputStream - an InputStrema opened on the xml file to parse
Exception - Thrown if an error occurs
public org.jboss.jca.common.api.metadata.ds.DataSources parse(XMLStreamReader reader)
throws Exception
MetadataParser
parse in interface MetadataParser<org.jboss.jca.common.api.metadata.ds.DataSources>reader - an XMLStreamReader opened on the xml file to parse
Exception - Thrown if an error occurs
protected org.jboss.jca.common.api.metadata.ds.DataSources parseDataSources(XMLStreamReader reader)
throws XMLStreamException,
ParserException,
org.jboss.jca.common.api.validator.ValidateException
reader - The reader
XMLStreamException - XMLStreamException
ParserException - ParserException
org.jboss.jca.common.api.validator.ValidateException - ValidateException
protected org.jboss.jca.common.api.metadata.ds.Driver parseDriver(XMLStreamReader reader)
throws XMLStreamException,
ParserException,
org.jboss.jca.common.api.validator.ValidateException
reader - The reader
XMLStreamException - XMLStreamException
ParserException - ParserException
org.jboss.jca.common.api.validator.ValidateException - ValidateException
protected org.jboss.jca.common.api.metadata.ds.XaDataSource parseXADataSource(XMLStreamReader reader)
throws XMLStreamException,
ParserException,
org.jboss.jca.common.api.validator.ValidateException
reader - The reader
XMLStreamException - XMLStreamException
ParserException - ParserException
org.jboss.jca.common.api.validator.ValidateException - ValidateException
protected org.jboss.jca.common.api.metadata.ds.DsSecurity parseDsSecurity(XMLStreamReader reader)
throws XMLStreamException,
ParserException,
org.jboss.jca.common.api.validator.ValidateException
reader - The reader
XMLStreamException - XMLStreamException
ParserException - ParserException
org.jboss.jca.common.api.validator.ValidateException - ValidateException
protected org.jboss.jca.common.api.metadata.ds.DataSource parseDataSource(XMLStreamReader reader)
throws XMLStreamException,
ParserException,
org.jboss.jca.common.api.validator.ValidateException
reader - The reader
XMLStreamException - XMLStreamException
ParserException - ParserException
org.jboss.jca.common.api.validator.ValidateException - ValidateException
protected org.jboss.jca.common.api.metadata.ds.Validation parseValidationSetting(XMLStreamReader reader)
throws XMLStreamException,
ParserException,
org.jboss.jca.common.api.validator.ValidateException
reader - The reader
XMLStreamException - XMLStreamException
ParserException - ParserException
org.jboss.jca.common.api.validator.ValidateException - ValidateException
protected org.jboss.jca.common.api.metadata.ds.TimeOut parseTimeOutSettings(XMLStreamReader reader)
throws XMLStreamException,
ParserException,
org.jboss.jca.common.api.validator.ValidateException
reader - The reader
XMLStreamException - XMLStreamException
ParserException - ParserException
org.jboss.jca.common.api.validator.ValidateException - ValidateException
protected org.jboss.jca.common.api.metadata.ds.Statement parseStatementSettings(XMLStreamReader reader)
throws XMLStreamException,
ParserException,
org.jboss.jca.common.api.validator.ValidateException
reader - The reader
XMLStreamException - XMLStreamException
ParserException - ParserException
org.jboss.jca.common.api.validator.ValidateException - ValidateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||