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.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
⏎ com/sun/org/apache/xerces/internal/util/XMLAttributesIteratorImpl.java
/* * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.org.apache.xerces.internal.util; import java.util.Iterator; import java.util.NoSuchElementException; /** * * @author Neeraj Bajaj, Sun Microsystems */ /** * Its better to extend the functionality of existing XMLAttributesImpl and also make it of type Iterator. * We can directly give an object of type iterator from StartElement event. We should also have * Attribute object of type javax.xml.stream.Attribute internally. It would avoid the need of creating * new javax.xml.stream.Attribute object at the later stage. * * Should we change XMLAttributes interface to implement Iteraotr ? I think its better avoid touching XNI as * much as possible. - NB. */ public class XMLAttributesIteratorImpl extends XMLAttributesImpl implements Iterator<XMLAttributesImpl.Attribute> { //pointer to current position. protected int fCurrent = 0 ; protected XMLAttributesImpl.Attribute fLastReturnedItem ; /** Creates a new instance of XMLAttributesIteratorImpl */ public XMLAttributesIteratorImpl() { } public boolean hasNext() { return fCurrent < getLength() ? true : false ; }//hasNext() public XMLAttributesImpl.Attribute next() { if(hasNext()){ // should this be of type javax.xml.stream.Attribute ? return fLastReturnedItem = fAttributes[fCurrent++] ; } else{ throw new NoSuchElementException() ; } }//next public void remove() { //make sure that only last returned item can be removed. if(fLastReturnedItem == fAttributes[fCurrent - 1]){ //remove the attribute at current index and lower the current position by 1. removeAttributeAt(fCurrent--) ; } else { //either the next method has been called yet, or the remove method has already been called //after the last call to the next method. throw new IllegalStateException(); } }//remove public void removeAllAttributes() { super.removeAllAttributes() ; fCurrent = 0 ; } /** xxx: should we be doing this way ? Attribute event defines so many functions which doesn't make any sense *for Attribute. * */ /* class AttributeImpl extends com.sun.org.apache.xerces.internal.util.XMLAttributesImpl.Attribute implements javax.xml.stream.events.Attribute{ } */ } //XMLAttributesIteratorImpl
⏎ com/sun/org/apache/xerces/internal/util/XMLAttributesIteratorImpl.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
2020-08-25, 177391👍, 0💬
Popular Posts:
JDOM provides a solution for using XML from Java that is as simple as Java itself. There is no compe...
JRE 8 plugin.jar is the JAR file for JRE 8 Java Control Panel Plugin interface and tools. JRE (Java ...
JDK 11 jdk.internal.vm.ci.jmod is the JMOD file for JDK 11 Internal VM CI module. JDK 11 Internal VM...
Apache Axis2 is the core engine for Web services. It is a complete re-design and re-write of the wid...
JDK 11 jdk.internal.le.jmod is the JMOD file for JDK 11 Internal Line Editing module. JDK 11 Interna...