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:
JRE 8 rt.jar - com.* Package Source Code
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime environment included in JDK 8. JRE 8 rt.jar libraries are divided into 6 packages:
com.* - Internal Oracle and Sun Microsystems libraries java.* - Standard Java API libraries. javax.* - Extended Java API libraries. jdk.* - JDK supporting libraries. org.* - Third party libraries. sun.* - Old libraries developed by Sun Microsystems.
JAR File Information:
Directory of C:\fyicenter\jdk-1.8.0_191\jre\lib 63,596,151 rt.jar
Here is the list of Java classes of the com.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ com/sun/org/apache/xalan/internal/xsltc/dom/DOMWSFilter.java
/* * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. */ /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* * $Id: DOMWSFilter.java,v 1.2.4.1 2005/09/06 06:14:31 pvedula Exp $ */ package com.sun.org.apache.xalan.internal.xsltc.dom; import com.sun.org.apache.xalan.internal.xsltc.DOM; import com.sun.org.apache.xalan.internal.xsltc.DOMEnhancedForDTM; import com.sun.org.apache.xalan.internal.xsltc.StripFilter; import com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet; import com.sun.org.apache.xml.internal.dtm.DTM; import com.sun.org.apache.xml.internal.dtm.DTMWSFilter; import java.util.HashMap; import java.util.Map; /** * A wrapper class that adapts the * {@link com.sun.org.apache.xml.internal.dtm.DTMWSFilter DTMWSFilter} interface to the XSLTC * DOM {@link com.sun.org.apache.xalan.internal.xsltc.StripFilter StripFilter} interface. */ public class DOMWSFilter implements DTMWSFilter { private AbstractTranslet m_translet; private StripFilter m_filter; // The Map for DTM to mapping array private Map<DTM, short[]> m_mappings; // Cache the DTM and mapping that are used last time private DTM m_currentDTM; private short[] m_currentMapping; /** * Construct an adapter connecting the <code>DTMWSFilter</code> interface * to the <code>StripFilter</code> interface. * * @param translet A translet that also implements the StripFilter * interface. * * @see com.sun.org.apache.xml.internal.dtm.DTMWSFilter * @see com.sun.org.apache.xalan.internal.xsltc.StripFilter */ public DOMWSFilter(AbstractTranslet translet) { m_translet = translet; m_mappings = new HashMap<>(); if (translet instanceof StripFilter) { m_filter = (StripFilter) translet; } } /** * Test whether whitespace-only text nodes are visible in the logical * view of <code>DTM</code>. Normally, this function * will be called by the implementation of <code>DTM</code>; * it is not normally called directly from * user code. * * @param node int handle of the node. * @param dtm the DTM that owns this node * @return one of <code>NOTSTRIP</code>, <code>STRIP</code> or * <code>INHERIT</code>. */ public short getShouldStripSpace(int node, DTM dtm) { if (m_filter != null && dtm instanceof DOM) { DOM dom = (DOM)dtm; int type = 0; if (dtm instanceof DOMEnhancedForDTM) { DOMEnhancedForDTM mappableDOM = (DOMEnhancedForDTM)dtm; short[] mapping; if (dtm == m_currentDTM) { mapping = m_currentMapping; } else { mapping = m_mappings.get(dtm); if (mapping == null) { mapping = mappableDOM.getMapping( m_translet.getNamesArray(), m_translet.getUrisArray(), m_translet.getTypesArray()); m_mappings.put(dtm, mapping); m_currentDTM = dtm; m_currentMapping = mapping; } } int expType = mappableDOM.getExpandedTypeID(node); // %OPT% The mapping array does not have information about all the // exptypes. However it does contain enough information about all names // in the translet's namesArray. If the expType does not fall into the // range of the mapping array, it means that the expType is not for one // of the recognized names. In this case we can just set the type to -1. if (expType >= 0 && expType < mapping.length) type = mapping[expType]; else type = -1; } else { return INHERIT; } if (m_filter.stripSpace(dom, node, type)) { return STRIP; } else { return NOTSTRIP; } } else { return NOTSTRIP; } } }
⏎ com/sun/org/apache/xalan/internal/xsltc/dom/DOMWSFilter.java
Or download all of them as a single archive file:
File name: jre-rt-com-1.8.0_191-src.zip File size: 8099783 bytes Release date: 2018-10-28 Download
⇒ Backup JDK 8 Installation Directory
2023-02-07, 255253👍, 3💬
Popular Posts:
ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify ex...
How to read XML document from socket connections with the socket\DelayedInput.java provided in the A...
What is the dom\GetElementsByTagName .javaprovided in the Apache Xerces package? I have Apache Xerce...
Apache Ant is a Java-based build tool. In theory, it is kind of like make, without make's wrinkles. ...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...