/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.util.CausedIOException
 *  com.l7tech.xml.xslt.CompiledStylesheet
 *  com.l7tech.xml.xslt.StylesheetCompiler
 */
package com.l7tech.server.policy.assertion.xml;

import com.l7tech.server.policy.assertion.xml.ServerXslTransformation;
import com.l7tech.server.url.AbstractUrlObjectCache;
import com.l7tech.util.CausedIOException;
import com.l7tech.xml.xslt.CompiledStylesheet;
import com.l7tech.xml.xslt.StylesheetCompiler;
import java.io.IOException;
import java.text.ParseException;

class g
implements AbstractUrlObjectCache.UserObjectFactory<CompiledStylesheet> {
    g() {
    }

    @Override
    public CompiledStylesheet createUserObject(String string, AbstractUrlObjectCache.UserObjectSource userObjectSource) throws IOException {
        String string2 = userObjectSource.getString(true);
        try {
            String string3 = ServerXslTransformation.b(string);
            return StylesheetCompiler.compileStylesheet((String)string2, (String)string3);
        }
        catch (ParseException parseException) {
            throw new CausedIOException((Throwable)parseException);
        }
    }
}

