Class RaParser
java.lang.Object
org.jboss.jca.common.metadata.common.AbstractParser
org.jboss.jca.common.metadata.spec.RaParser
- All Implemented Interfaces:
MetadataParser<org.jboss.jca.common.api.metadata.spec.Connector>
public class RaParser
extends AbstractParser
implements MetadataParser<org.jboss.jca.common.api.metadata.spec.Connector>
A RaParser.
- Author:
- Stefano Maestri
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.jboss.jca.common.metadata.common.AbstractParser
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.jca.common.api.metadata.spec.Connectorparse(InputStream xmlInputStream) Parse the xml file and return the JCAMetaData for which the concrete parser is designed.org.jboss.jca.common.api.metadata.spec.Connectorparse(XMLStreamReader reader) Parse the xml file and return the JCAMetaData for which the concrete parser is designed.Methods inherited from class org.jboss.jca.common.metadata.common.AbstractParser
attributeAsBoolean, attributeAsInt, attributeAsString, elementAsBoolean, elementAsFlushStrategy, elementAsInteger, elementAsLong, elementAsString, isSystemPropertiesResolved, parseCapacity, parseConfigProperty, parseCredential, parseExtension, parsePool, parseRecovery, parseSecuritySettings, parseTimeOut, parseValidation, parseXaPool, setSystemPropertiesResolvedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.jca.common.metadata.MetadataParser
isSystemPropertiesResolved, setSystemPropertiesResolved
-
Constructor Details
-
RaParser
public RaParser()
-
-
Method Details
-
parse
public org.jboss.jca.common.api.metadata.spec.Connector parse(InputStream xmlInputStream) throws Exception Description copied from interface:MetadataParserParse the xml file and return the JCAMetaData for which the concrete parser is designed. Note that is responsibility of the client to open and close the stream- Specified by:
parsein interfaceMetadataParser<org.jboss.jca.common.api.metadata.spec.Connector>- Parameters:
xmlInputStream- an InputStrema opened on the xml file to parse- Returns:
- The metadata
- Throws:
Exception- Thrown if an error occurs
-
parse
public org.jboss.jca.common.api.metadata.spec.Connector parse(XMLStreamReader reader) throws Exception Description copied from interface:MetadataParserParse the xml file and return the JCAMetaData for which the concrete parser is designed. Note that is responsibility of the client to open and close the stream- Specified by:
parsein interfaceMetadataParser<org.jboss.jca.common.api.metadata.spec.Connector>- Parameters:
reader- an XMLStreamReader opened on the xml file to parse- Returns:
- The metadata
- Throws:
Exception- Thrown if an error occurs
-