Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 11 java.desktop.jmod - Desktop Module
JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module.
JDK 11 Desktop module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.desktop.jmod.
JDK 11 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Desktop module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.desktop.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/beans/decoder/JavaElementHandler.java
/* * Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.beans.decoder; import java.beans.XMLDecoder; /** * This class is intended to handle <java> element. * Each element that appears in the body of this element * is evaluated in the context of the decoder itself. * Typically this outer context is used to retrieve the owner of the decoder, * which can be set before reading the archive. * <p>The following attributes are supported: * <dl> * <dt>version * <dd>the Java version (not supported) * <dt>class * <dd>the type of preferable parser (not supported) * <dt>id * <dd>the identifier of the variable that is intended to store the result * </dl> * * @see DocumentHandler#getOwner * @see DocumentHandler#setOwner * @since 1.7 * * @author Sergey A. Malenkov */ final class JavaElementHandler extends ElementHandler { private Class<?> type; private ValueObject value; /** * Parses attributes of the element. * The following attributes are supported: * <dl> * <dt>version * <dd>the Java version (not supported) * <dt>class * <dd>the type of preferable parser (not supported) * <dt>id * <dd>the identifier of the variable that is intended to store the result * </dl> * * @param name the attribute name * @param value the attribute value */ @Override public void addAttribute(String name, String value) { if (name.equals("version")) { // NON-NLS: the attribute name // unsupported attribute } else if (name.equals("class")) { // NON-NLS: the attribute name // check class for owner this.type = getOwner().findClass(value); } else { super.addAttribute(name, value); } } /** * Adds the argument to the list of readed objects. * * @param argument the value of the element that contained in this one */ @Override protected void addArgument(Object argument) { getOwner().addObject(argument); } /** * Tests whether the value of this element can be used * as an argument of the element that contained in this one. * * @return {@code true} if the value of this element should be used * as an argument of the element that contained in this one, * {@code false} otherwise */ @Override protected boolean isArgument() { return false; // do not use owner as object } /** * Returns the value of this element. * * @return the value of this element */ @Override protected ValueObject getValueObject() { if (this.value == null) { this.value = ValueObjectImpl.create(getValue()); } return this.value; } /** * Returns the owner of the owner document handler * as a value of <java> element. * * @return the owner of the owner document handler */ private Object getValue() { Object owner = getOwner().getOwner(); if ((this.type == null) || isValid(owner)) { return owner; } if (owner instanceof XMLDecoder) { XMLDecoder decoder = (XMLDecoder) owner; owner = decoder.getOwner(); if (isValid(owner)) { return owner; } } throw new IllegalStateException("Unexpected owner class: " + owner.getClass().getName()); } /** * Validates the owner of the <java> element. * The owner is valid if it is {@code null} or an instance * of the class specified by the {@code class} attribute. * * @param owner the owner of the <java> element * @return {@code true} if the {@code owner} is valid; * {@code false} otherwise */ private boolean isValid(Object owner) { return (owner == null) || this.type.isInstance(owner); } }
⏎ com/sun/beans/decoder/JavaElementHandler.java
Or download all of them as a single archive file:
File name: java.desktop-11.0.1-src.zip File size: 7974380 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.instrument.jmod - Instrument Module
2022-08-06, 193167👍, 5💬
Popular Posts:
Commons Pool provides an Object-pooling API, with three major aspects: 1. A generic object pool inte...
JDK 11 jdk.internal.JVM Stat.jmod is the JMOD file for JDK 11 Internal Jvmstat module. JDK 11 Intern...
Java Architecture for XML Binding (JAXB) is a Java API that allows Java developers to map Java class...
JAX-WS is an API for building web services and clients. It is the next generation Web Services API r...
What Is poi-contrib-3.5.jar? poi-contrib-3.5.jar is one of the JAR files for Apache POI 3.5, which p...