导航菜单

页面标题

页面副标题

BAM Crawford v6.14.1 - p.java 源代码

正在查看: BAM Crawford v6.14.1 应用的 p.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package u1;

import androidx.car.app.hardware.info.EnergyProfile;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Pattern;

public final class p implements t1.f {

    private Map f15126a = new HashMap();

    private Map f15127b = new HashMap();

    private Map f15128c = new HashMap();

    private Pattern f15129d = Pattern.compile("[/*?\\[\\]]");

    class a implements x1.a {

        final String f15130a;

        final String f15131b;

        final String f15132c;

        final w1.a f15133d;

        a(String str, String str2, String str3, w1.a aVar) {
            this.f15130a = str;
            this.f15131b = str2;
            this.f15132c = str3;
            this.f15133d = aVar;
        }

        @Override
        public String a() {
            return this.f15130a;
        }

        @Override
        public String b() {
            return this.f15131b;
        }

        @Override
        public String c() {
            return this.f15132c;
        }

        @Override
        public w1.a d() {
            return this.f15133d;
        }

        public String toString() {
            return this.f15131b + this.f15132c + " NS(" + this.f15130a + "), FORM (" + d() + ")";
        }
    }

    public p() {
        try {
            g();
            f();
        } catch (t1.b unused) {
            throw new RuntimeException("The XMPSchemaRegistry cannot be initialized!");
        }
    }

    private void f() {
        w1.a l10 = new w1.a().l(true);
        w1.a k10 = new w1.a().k(true);
        e("http://ns.adobe.com/xap/1.0/", "Author", "http://purl.org/dc/elements/1.1/", "creator", l10);
        e("http://ns.adobe.com/xap/1.0/", "Authors", "http://purl.org/dc/elements/1.1/", "creator", null);
        e("http://ns.adobe.com/xap/1.0/", "Description", "http://purl.org/dc/elements/1.1/", "description", null);
        e("http://ns.adobe.com/xap/1.0/", "Format", "http://purl.org/dc/elements/1.1/", "format", null);
        e("http://ns.adobe.com/xap/1.0/", "Keywords", "http://purl.org/dc/elements/1.1/", "subject", null);
        e("http://ns.adobe.com/xap/1.0/", "Locale", "http://purl.org/dc/elements/1.1/", "language", null);
        e("http://ns.adobe.com/xap/1.0/", "Title", "http://purl.org/dc/elements/1.1/", "title", null);
        e("http://ns.adobe.com/xap/1.0/rights/", "Copyright", "http://purl.org/dc/elements/1.1/", "rights", null);
        e("http://ns.adobe.com/pdf/1.3/", "Author", "http://purl.org/dc/elements/1.1/", "creator", l10);
        e("http://ns.adobe.com/pdf/1.3/", "BaseURL", "http://ns.adobe.com/xap/1.0/", "BaseURL", null);
        e("http://ns.adobe.com/pdf/1.3/", "CreationDate", "http://ns.adobe.com/xap/1.0/", "CreateDate", null);
        e("http://ns.adobe.com/pdf/1.3/", "Creator", "http://ns.adobe.com/xap/1.0/", "CreatorTool", null);
        e("http://ns.adobe.com/pdf/1.3/", "ModDate", "http://ns.adobe.com/xap/1.0/", "ModifyDate", null);
        e("http://ns.adobe.com/pdf/1.3/", "Subject", "http://purl.org/dc/elements/1.1/", "description", k10);
        e("http://ns.adobe.com/pdf/1.3/", "Title", "http://purl.org/dc/elements/1.1/", "title", k10);
        e("http://ns.adobe.com/photoshop/1.0/", "Author", "http://purl.org/dc/elements/1.1/", "creator", l10);
        e("http://ns.adobe.com/photoshop/1.0/", "Caption", "http://purl.org/dc/elements/1.1/", "description", k10);
        e("http://ns.adobe.com/photoshop/1.0/", "Copyright", "http://purl.org/dc/elements/1.1/", "rights", k10);
        e("http://ns.adobe.com/photoshop/1.0/", "Keywords", "http://purl.org/dc/elements/1.1/", "subject", null);
        e("http://ns.adobe.com/photoshop/1.0/", "Marked", "http://ns.adobe.com/xap/1.0/rights/", "Marked", null);
        e("http://ns.adobe.com/photoshop/1.0/", "Title", "http://purl.org/dc/elements/1.1/", "title", k10);
        e("http://ns.adobe.com/photoshop/1.0/", "WebStatement", "http://ns.adobe.com/xap/1.0/rights/", "WebStatement", null);
        e("http://ns.adobe.com/tiff/1.0/", "Artist", "http://purl.org/dc/elements/1.1/", "creator", l10);
        e("http://ns.adobe.com/tiff/1.0/", "Copyright", "http://purl.org/dc/elements/1.1/", "rights", null);
        e("http://ns.adobe.com/tiff/1.0/", "DateTime", "http://ns.adobe.com/xap/1.0/", "ModifyDate", null);
        e("http://ns.adobe.com/tiff/1.0/", "ImageDescription", "http://purl.org/dc/elements/1.1/", "description", null);
        e("http://ns.adobe.com/tiff/1.0/", "Software", "http://ns.adobe.com/xap/1.0/", "CreatorTool", null);
        e("http://ns.adobe.com/png/1.0/", "Author", "http://purl.org/dc/elements/1.1/", "creator", l10);
        e("http://ns.adobe.com/png/1.0/", "Copyright", "http://purl.org/dc/elements/1.1/", "rights", k10);
        e("http://ns.adobe.com/png/1.0/", "CreationTime", "http://ns.adobe.com/xap/1.0/", "CreateDate", null);
        e("http://ns.adobe.com/png/1.0/", "Description", "http://purl.org/dc/elements/1.1/", "description", k10);
        e("http://ns.adobe.com/png/1.0/", "ModificationTime", "http://ns.adobe.com/xap/1.0/", "ModifyDate", null);
        e("http://ns.adobe.com/png/1.0/", "Software", "http://ns.adobe.com/xap/1.0/", "CreatorTool", null);
        e("http://ns.adobe.com/png/1.0/", "Title", "http://purl.org/dc/elements/1.1/", "title", k10);
    }

    private void g() {
        c("http://www.w3.org/XML/1998/namespace", "xml");
        c("http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdf");
        c("http://purl.org/dc/elements/1.1/", "dc");
        c("http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/", "Iptc4xmpCore");
        c("http://iptc.org/std/Iptc4xmpExt/2008-02-29/", "Iptc4xmpExt");
        c("http://ns.adobe.com/DICOM/", "DICOM");
        c("http://ns.useplus.org/ldf/xmp/1.0/", "plus");
        c("adobe:ns:meta/", "x");
        c("http://ns.adobe.com/iX/1.0/", "iX");
        c("http://ns.adobe.com/xap/1.0/", "xmp");
        c("http://ns.adobe.com/xap/1.0/rights/", "xmpRights");
        c("http://ns.adobe.com/xap/1.0/mm/", "xmpMM");
        c("http://ns.adobe.com/xap/1.0/bj/", "xmpBJ");
        c("http://ns.adobe.com/xmp/note/", "xmpNote");
        c("http://ns.adobe.com/pdf/1.3/", "pdf");
        c("http://ns.adobe.com/pdfx/1.3/", "pdfx");
        c("http://www.npes.org/pdfx/ns/id/", "pdfxid");
        c("http://www.aiim.org/pdfa/ns/schema#", "pdfaSchema");
        c("http://www.aiim.org/pdfa/ns/property#", "pdfaProperty");
        c("http://www.aiim.org/pdfa/ns/type#", "pdfaType");
        c("http://www.aiim.org/pdfa/ns/field#", "pdfaField");
        c("http://www.aiim.org/pdfa/ns/id/", "pdfaid");
        c("http://www.aiim.org/pdfa/ns/extension/", "pdfaExtension");
        c("http://ns.adobe.com/photoshop/1.0/", "photoshop");
        c("http://ns.adobe.com/album/1.0/", "album");
        c("http://ns.adobe.com/exif/1.0/", "exif");
        c("http://cipa.jp/exif/1.0/", "exifEX");
        c("http://ns.adobe.com/exif/1.0/aux/", "aux");
        c("http://ns.adobe.com/tiff/1.0/", "tiff");
        c("http://ns.adobe.com/png/1.0/", "png");
        c("http://ns.adobe.com/jpeg/1.0/", "jpeg");
        c("http://ns.adobe.com/jp2k/1.0/", "jp2k");
        c("http://ns.adobe.com/camera-raw-settings/1.0/", "crs");
        c("http://ns.adobe.com/StockPhoto/1.0/", "bmsp");
        c("http://ns.adobe.com/creatorAtom/1.0/", "creatorAtom");
        c("http://ns.adobe.com/asf/1.0/", "asf");
        c("http://ns.adobe.com/xmp/wav/1.0/", "wav");
        c("http://ns.adobe.com/bwf/bext/1.0/", "bext");
        c("http://ns.adobe.com/riff/info/", "riffinfo");
        c("http://ns.adobe.com/xmp/1.0/Script/", "xmpScript");
        c("http://ns.adobe.com/TransformXMP/", "txmp");
        c("http://ns.adobe.com/swf/1.0/", "swf");
        c("http://ns.adobe.com/xmp/1.0/DynamicMedia/", "xmpDM");
        c("http://ns.adobe.com/xmp/transient/1.0/", "xmpx");
        c("http://ns.adobe.com/xap/1.0/t/", "xmpT");
        c("http://ns.adobe.com/xap/1.0/t/pg/", "xmpTPg");
        c("http://ns.adobe.com/xap/1.0/g/", "xmpG");
        c("http://ns.adobe.com/xap/1.0/g/img/", "xmpGImg");
        c("http://ns.adobe.com/xap/1.0/sType/Font#", "stFnt");
        c("http://ns.adobe.com/xap/1.0/sType/Dimensions#", "stDim");
        c("http://ns.adobe.com/xap/1.0/sType/ResourceEvent#", "stEvt");
        c("http://ns.adobe.com/xap/1.0/sType/ResourceRef#", "stRef");
        c("http://ns.adobe.com/xap/1.0/sType/Version#", "stVer");
        c("http://ns.adobe.com/xap/1.0/sType/Job#", "stJob");
        c("http://ns.adobe.com/xap/1.0/sType/ManifestItem#", "stMfs");
        c("http://ns.adobe.com/xmp/Identifier/qual/1.0/", "xmpidq");
    }

    @Override
    public synchronized String a(String str) {
        return (String) this.f15126a.get(str);
    }

    @Override
    public synchronized String b(String str) {
        if (str != null) {
            if (!str.endsWith(":")) {
                str = str + ":";
            }
        }
        return (String) this.f15127b.get(str);
    }

    @Override
    public synchronized String c(String str, String str2) {
        e.e(str);
        e.c(str2);
        if (str2.charAt(str2.length() - 1) != ':') {
            str2 = str2 + ':';
        }
        if (!h.g(str2.substring(0, str2.length() - 1))) {
            throw new t1.b("The prefix is a bad XML name", 201);
        }
        String str3 = (String) this.f15126a.get(str);
        String str4 = (String) this.f15127b.get(str2);
        if (str3 != null) {
            return str3;
        }
        if (str4 != null) {
            String str5 = str2;
            int i10 = 1;
            while (this.f15127b.containsKey(str5)) {
                str5 = str2.substring(0, str2.length() - 1) + "_" + i10 + "_:";
                i10++;
            }
            str2 = str5;
        }
        this.f15127b.put(str2, str);
        this.f15126a.put(str, str2);
        return str2;
    }

    @Override
    public synchronized x1.a d(String str) {
        return (x1.a) this.f15128c.get(str);
    }

    synchronized void e(String str, String str2, String str3, String str4, w1.a aVar) {
        e.e(str);
        e.d(str2);
        e.e(str3);
        e.d(str4);
        w1.a aVar2 = aVar != null ? new w1.a(n.p(aVar.m(), null).d()) : new w1.a();
        if (this.f15129d.matcher(str2).find() || this.f15129d.matcher(str4).find()) {
            throw new t1.b("Alias and actual property names must be simple", 102);
        }
        String a10 = a(str);
        String a11 = a(str3);
        if (a10 == null) {
            throw new t1.b("Alias namespace is not registered", EnergyProfile.EVCONNECTOR_TYPE_OTHER);
        }
        if (a11 == null) {
            throw new t1.b("Actual namespace is not registered", EnergyProfile.EVCONNECTOR_TYPE_OTHER);
        }
        String str5 = a10 + str2;
        if (this.f15128c.containsKey(str5)) {
            throw new t1.b("Alias is already existing", 4);
        }
        if (this.f15128c.containsKey(a11 + str4)) {
            throw new t1.b("Actual property is already an alias, use the base property", 4);
        }
        this.f15128c.put(str5, new a(str3, a11, str4, aVar2));
    }
}