JDK 11 java.xml.jmod - XML Module

JDK 11 java.xml.jmod is the JMOD file for JDK 11 XML (eXtensible Markup Language) module.

JDK 11 XML module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.xml.jmod.

JDK 11 XML module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.

JDK 11 XML module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.xml.

You can click and view the content of each source code file in the list below.

✍: FYIcenter

⏎ javax/xml/catalog/AltCatalog.java

/*
 * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */
package javax.xml.catalog;

import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;

/**
 * Represents an alternative catalog entry.
 *
 * @since 9
 */
class AltCatalog extends BaseEntry {
    URI catalogURI;

    AltCatalog(CatalogEntryType type, String base) {
        super(type, base);
    }

    /**
     * Set the catalog attribute. If the value of the catalog attribute is relative, it
     * must be made absolute with respect to the base URI currently in effect.
     *
     * @param catalog The catalog attribute value.
     * @throws CatalogException if converting to catalog URI failed
     */
    void setCatalog(String catalog) {
        URL url = verifyURI("catalog", baseURI, catalog);
        try {
            catalogURI = url.toURI();
        } catch (URISyntaxException ex) {
            CatalogMessages.reportRunTimeError(CatalogMessages.ERR_OTHER, ex);
        }

    }

    /**
     * Returns the catalog attribute as a URI String.
     * @return The value of the catalog attribute
     */
    String getCatalogId() {
        return catalogURI.toASCIIString();
    }

    /**
     * Returns the catalog attribute as a URI.
     * @return The value of the catalog attribute
     */
    URI getCatalogURI() {
        return catalogURI;
    }

    /**
     * Matches the specified id with the entry. Returns the match if it
     * is successful and the length of the start String is longer than the
     * longest of any previous match.
     *
     * @param id The id to be matched.
     * @param currentMatch The length of start String of previous match if any.
     * @return The replacement URI if the match is successful, null if not.
     */
    public URI matchURI(String id, int currentMatch) {
        return null;
    }
}

⏎ javax/xml/catalog/AltCatalog.java

 

Or download all of them as a single archive file:

File name: java.xml-11.0.1-src.zip
File size: 4876106 bytes
Release date: 2018-11-04
Download 

 

⇒ JDK 11 java.xml.crypto.jmod - XML Crypto Module

⇐ JDK 11 java.transaction.xa.jmod - Transaction XA Module

⇑ Download and Use JDK 11

⇑⇑ FAQ for JDK (Java Development Kit)

2020-08-25, ≈690🔥, 0💬