}
else
{
if (ResourceAdapter10.Tag.forName(reader.getLocalName()) == ResourceAdapter10.Tag.UNKNOWN)
{
throw new ParserException(bundle.unexpectedEndTag(reader.getLocalName()));
}
}
break;
}
case START_ELEMENT : {
switch (ResourceAdapter10.Tag.forName(reader.getLocalName()))
{
case CONFIG_PROPERTY : {
configProperties.add(parseConfigProperty(reader));
break;
}
case AUTHENTICATION_MECHANISM : {
authenticationMechanism.add(parseAuthenticationMechanism(reader));
break;
}
case MANAGEDCONNECTIONFACTORY_CLASS : {
managedConnectionFactoryClass = elementAsXsdString(reader);
break;
}
case CONNECTION_INTERFACE : {
connectionInterface = elementAsXsdString(reader);
break;
}
case CONNECTION_IMPL_CLASS : {
connectionImplClass = elementAsXsdString(reader);
break;
}
case CONNECTIONFACTORY_INTERFACE : {
connectionFactoryInterface = elementAsXsdString(reader);
break;
}
case CONNECTIONFACTORY_IMPL_CLASS : {
connectionFactoryImplClass = elementAsXsdString(reader);
break;
}
case REAUTHENTICATION_SUPPORT : {
rsId = reader.getAttributeValue(null, "id");
reauthenticationSupport = elementAsBoolean(reader);
break;
}
case SECURITY_PERMISSION : {
securityPermission.add(parseSecurityPermission(reader));
break;
}
case TRANSACTION_SUPPORT : {
tsId = reader.getAttributeValue(null, "id");
transactionSupport = TransactionSupportEnum.valueOf(reader.getElementText().trim());
break;
}
default :
throw new ParserException(bundle.unexpectedElement(reader.getLocalName()));
}
break;
}
}
}
throw new ParserException(bundle.unexpectedEndOfDocument());
}