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:
Java Source Code for Xerces Java 2.11.2
Where Can I see Java Source Code files for Xerces Java 2.11.2?
✍: FYIcenter
Here are Java Source Code files for Xerces Java 2.11.2:
⏎ org/apache/xerces/stax/events/XMLEventImpl.java
/* * 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. */ package org.apache.xerces.stax.events; import java.io.StringWriter; import javax.xml.namespace.QName; import javax.xml.stream.Location; import javax.xml.stream.XMLStreamException; import javax.xml.stream.events.Characters; import javax.xml.stream.events.EndElement; import javax.xml.stream.events.StartElement; import javax.xml.stream.events.XMLEvent; import org.apache.xerces.stax.EmptyLocation; import org.apache.xerces.stax.ImmutableLocation; /** * @xerces.internal * * @author Lucian Holland * * @version $Id: XMLEventImpl.java 956312 2010-06-20 00:47:28Z mrglavas $ */ abstract class XMLEventImpl implements XMLEvent { /** * Constant representing the type of this event. * {@see javax.xml.stream.XMLStreamConstants} */ private int fEventType; /** * Location object for this event. */ private Location fLocation; /** * Constructor. */ XMLEventImpl(final int eventType, final Location location) { fEventType = eventType; if (location != null) { fLocation = new ImmutableLocation(location); } else { fLocation = EmptyLocation.getInstance(); } } /** * @see javax.xml.stream.events.XMLEvent#getEventType() */ public final int getEventType() { return fEventType; } /** * @see javax.xml.stream.events.XMLEvent#getLocation() */ public final Location getLocation() { return fLocation; } /** * @see javax.xml.stream.events.XMLEvent#isStartElement() */ public final boolean isStartElement() { return START_ELEMENT == fEventType; } /** * @see javax.xml.stream.events.XMLEvent#isAttribute() */ public final boolean isAttribute() { return ATTRIBUTE == fEventType; } /** * @see javax.xml.stream.events.XMLEvent#isNamespace() */ public final boolean isNamespace() { return NAMESPACE == fEventType; } /** * @see javax.xml.stream.events.XMLEvent#isEndElement() */ public final boolean isEndElement() { return END_ELEMENT == fEventType; } /** * @see javax.xml.stream.events.XMLEvent#isEntityReference() */ public final boolean isEntityReference() { return ENTITY_REFERENCE == fEventType; } /** * @see javax.xml.stream.events.XMLEvent#isProcessingInstruction() */ public final boolean isProcessingInstruction() { return PROCESSING_INSTRUCTION == fEventType; } /** * @see javax.xml.stream.events.XMLEvent#isCharacters() */ public final boolean isCharacters() { return CHARACTERS == fEventType || CDATA == fEventType || SPACE == fEventType; } /** * @see javax.xml.stream.events.XMLEvent#isStartDocument() */ public final boolean isStartDocument() { return START_DOCUMENT == fEventType; } /** * @see javax.xml.stream.events.XMLEvent#isEndDocument() */ public final boolean isEndDocument() { return END_DOCUMENT == fEventType; } /** * @see javax.xml.stream.events.XMLEvent#asStartElement() */ public final StartElement asStartElement() { return (StartElement) this; } /** * @see javax.xml.stream.events.XMLEvent#asEndElement() */ public final EndElement asEndElement() { return (EndElement) this; } /** * @see javax.xml.stream.events.XMLEvent#asCharacters() */ public final Characters asCharacters() { return (Characters) this; } /** * @see javax.xml.stream.events.XMLEvent#getSchemaType() */ public final QName getSchemaType() { return null; } public final String toString() { final StringWriter writer = new StringWriter(); try { writeAsEncodedUnicode(writer); } catch (XMLStreamException xse) {} return writer.toString(); } }
⏎ org/apache/xerces/stax/events/XMLEventImpl.java
Or download all of them as a single archive file:
File name: Xerces-J.2.12.2-src.zip File size: 2128351 bytes Release date: 2022-01-21 Download
⇒ Donwload Xerces-J-bin.2.11.0.zip
⇐ What Is in Xerces-J-bin.2.12.2.zip
2016-09-15, 44944👍, 1💬
Popular Posts:
What Is mail.jar of JavaMail 1.4? I got the JAR file from javamail-1_4.zip. mail.jar in javamail-1_4...
JDK 17 jdk.compiler.jmod is the JMOD file for JDK 17 Compiler tool, which can be invoked by the "jav...
commons-net.jar is the bytecode of Apache Commons Net library, which implements the client side of m...
MXP1 is a stable XmlPull parsing engine that is based on ideas from XPP and in particular XPP2 but c...
How to download and install ojdbc7.jar for Oracle 12c R1? ojdbc8.jar for Oracle 12c R1 is a Java 7 a...