public final class org.wildfly.common.xml.TransformerFactoryUtil extends java.lang.Object
{
private static final java.util.concurrent.atomic.AtomicBoolean TO_BE_LOGGED;
public static javax.xml.transform.TransformerFactory create()
{
javax.xml.transform.TransformerConfigurationException v;
java.util.concurrent.atomic.AtomicBoolean v;
java.lang.IllegalArgumentException v, v;
org.wildfly.common.xml.Log v, v, v;
java.lang.Class v, v, v;
java.lang.String v, v, v;
javax.xml.transform.TransformerFactory v;
boolean v;
v = staticinvoke <javax.xml.transform.TransformerFactory: javax.xml.transform.TransformerFactory newInstance()>();
v = <org.wildfly.common.xml.TransformerFactoryUtil: java.util.concurrent.atomic.AtomicBoolean TO_BE_LOGGED>;
v = virtualinvoke v.<java.util.concurrent.atomic.AtomicBoolean: boolean compareAndSet(boolean,boolean)>(1, 0);
label:
virtualinvoke v.<javax.xml.transform.TransformerFactory: void setFeature(java.lang.String,boolean)>("http://javax.xml.XMLConstants/feature/secure-processing", 1);
label:
goto label;
label:
v := @caughtexception;
if v == 0 goto label;
v = <org.wildfly.common.xml.Log: org.wildfly.common.xml.Log XML_FACTORY_LOGGER>;
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = virtualinvoke v.<java.lang.Class: java.lang.String getCanonicalName()>();
interfaceinvoke v.<org.wildfly.common.xml.Log: void xmlFactoryPropertyNotSupported(java.lang.Throwable,java.lang.String,java.lang.String)>(v, "http://javax.xml.XMLConstants/feature/secure-processing", v);
label:
virtualinvoke v.<javax.xml.transform.TransformerFactory: void setAttribute(java.lang.String,java.lang.Object)>("http://javax.xml.XMLConstants/property/accessExternalDTD", "");
label:
goto label;
label:
v := @caughtexception;
if v == 0 goto label;
v = <org.wildfly.common.xml.Log: org.wildfly.common.xml.Log XML_FACTORY_LOGGER>;
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = virtualinvoke v.<java.lang.Class: java.lang.String getCanonicalName()>();
interfaceinvoke v.<org.wildfly.common.xml.Log: void xmlFactoryPropertyNotSupported(java.lang.Throwable,java.lang.String,java.lang.String)>(v, "http://javax.xml.XMLConstants/property/accessExternalDTD", v);
label:
virtualinvoke v.<javax.xml.transform.TransformerFactory: void setAttribute(java.lang.String,java.lang.Object)>("http://javax.xml.XMLConstants/property/accessExternalStylesheet", "");
label:
goto label;
label:
v := @caughtexception;
if v == 0 goto label;
v = <org.wildfly.common.xml.Log: org.wildfly.common.xml.Log XML_FACTORY_LOGGER>;
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = virtualinvoke v.<java.lang.Class: java.lang.String getCanonicalName()>();
interfaceinvoke v.<org.wildfly.common.xml.Log: void xmlFactoryPropertyNotSupported(java.lang.Throwable,java.lang.String,java.lang.String)>(v, "http://javax.xml.XMLConstants/property/accessExternalStylesheet", v);
label:
return v;
catch javax.xml.transform.TransformerConfigurationException from label to label with label;
catch java.lang.IllegalArgumentException from label to label with label;
catch java.lang.IllegalArgumentException from label to label with label;
}
private void <init>()
{
java.lang.IllegalStateException v;
org.wildfly.common.xml.TransformerFactoryUtil v;
v := @this: org.wildfly.common.xml.TransformerFactoryUtil;
specialinvoke v.<java.lang.Object: void <init>()>();
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("No instance");
throw v;
}
static void <clinit>()
{
java.util.concurrent.atomic.AtomicBoolean v;
v = new java.util.concurrent.atomic.AtomicBoolean;
specialinvoke v.<java.util.concurrent.atomic.AtomicBoolean: void <init>(boolean)>(1);
<org.wildfly.common.xml.TransformerFactoryUtil: java.util.concurrent.atomic.AtomicBoolean TO_BE_LOGGED> = v;
return;
}
}