package com.l7tech.server.policy.assertion.xml;

import com.l7tech.gateway.common.audit.AssertionMessages;
import com.l7tech.policy.variable.NoSuchVariableException;
import com.l7tech.server.message.PolicyEnforcementContext;
import com.l7tech.util.Functions.Unary;

class m implements Unary<Object, String> {
   final PolicyEnforcementContext val$context;
   final ServerXslTransformation this$0;

   m(ServerXslTransformation var1, PolicyEnforcementContext var2) {
      this.this$0 = var1;
      this.val$context = var2;
   }

   public Object call(String var1) {
      try {
         return this.val$context.getVariable(var1);
      } catch (NoSuchVariableException var3) {
         ServerXslTransformation.access$000(this.this$0, AssertionMessages.NO_SUCH_VARIABLE, new String[]{var1});
         return null;
      }
   }
}
