if ( type == ValueMap.class ) {
return (AdapterType)this.props;
}
else if ( type == ModifiableValueMap.class ) {
((MockResourceResolver)this.resolver).addChanged(this.path, this.props);
return (AdapterType)new ModifiableValueMapDecorator(this.props);
}
else if ( type == InputStream.class ) {
InputStream is = getFileResourceInputStream();
if (is != null) {
return (AdapterType)is;