return;
} else {
if (CommonXaPool.Tag.forName(reader.getLocalName()) == CommonXaPool.Tag.UNKNOWN) {
throw new ParserException(bundle.unexpectedEndTag(reader.getLocalName()));
}
}
break;
}
case START_ELEMENT: {
switch (CommonXaPool.Tag.forName(reader.getLocalName())) {
case MAX_POOL_SIZE: {
String value = rawElementText(reader);
MAX_POOL_SIZE.parseAndSetParameter(value, node, reader);
break;
}
case MIN_POOL_SIZE: {
String value = rawElementText(reader);
MIN_POOL_SIZE.parseAndSetParameter(value, node, reader);
break;
}
case PREFILL: {
String value = rawElementText(reader);
POOL_PREFILL.parseAndSetParameter(value, node, reader);
break;
}
case USE_STRICT_MIN: {
String value = rawElementText(reader);
POOL_USE_STRICT_MIN.parseAndSetParameter(value, node, reader);
break;
}
case FLUSH_STRATEGY: {
String value = rawElementText(reader);
POOL_FLUSH_STRATEGY.parseAndSetParameter(value, node, reader);
break;
}
case INTERLEAVING: {
String value = rawElementText(reader);
//just presence means true
value = value == null ? "true" : value;
INTERLEAVING.parseAndSetParameter(value, node, reader);
break;
}
case IS_SAME_RM_OVERRIDE: {
String value = rawElementText(reader);
SAME_RM_OVERRIDE.parseAndSetParameter(value, node, reader);
break;
}
case NO_TX_SEPARATE_POOLS: {
String value = rawElementText(reader);
//just presence means true
value = value == null ? "true" : value;
NOTXSEPARATEPOOL.parseAndSetParameter(value, node, reader);
break;
}
case PAD_XID: {
String value = rawElementText(reader);
PAD_XID.parseAndSetParameter(value, node, reader);
break;
}
case WRAP_XA_RESOURCE: {
String value = rawElementText(reader);
WRAP_XA_RESOURCE.parseAndSetParameter(value, node, reader);
break;
}
default:
throw new ParserException(bundle.unexpectedElement(reader.getLocalName()));
}
break;
}
}
}
throw new ParserException(bundle.unexpectedEndOfDocument());
}