// javadoc inherited
public Configuration unmarshal(InputStream stream) {
try {
IBindingFactory bfact = BindingDirectory
.getFactory(DefaultConfiguration.class);
IUnmarshallingContext uctx =
bfact.createUnmarshallingContext();
return (Configuration) uctx.unmarshalDocument(stream, null);
} catch (JiBXException e) {
throw new RuntimeException(
EXCEPTION_LOCALIZER.format("unmarshal-failure"), e);
}
}