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:
Woodstox 6.4.0 - Source Code Files
Woodstox 6.4.0 Source Code Files are provided at the Woodstox GitHub Website.
You can download them from the "src/main/java" folder.
You can also browse Woodstox Source Code files below:
✍: FYIcenter
⏎ com/ctc/wstx/ent/EntityDecl.java
/* Woodstox XML processor * * Copyright (c) 2004 Tatu Saloranta, tatu.saloranta@iki.fi * * Licensed under the License specified in file LICENSE, included with * the source code. * You may not use this file except in compliance with the License. * * 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 com.ctc.wstx.ent; import java.io.IOException; import java.io.Writer; import java.net.URL; import javax.xml.stream.Location; import javax.xml.stream.XMLResolver; import javax.xml.stream.XMLStreamException; import com.ctc.wstx.api.ReaderConfig; import com.ctc.wstx.evt.WEntityDeclaration; import com.ctc.wstx.io.WstxInputSource; /** * Abstract base class for various entity declarations DTD reader * has parsed from DTD subsets. */ public abstract class EntityDecl extends WEntityDeclaration { /** * Name/id of the entity used to reference it. */ final String mName; /** * Context that is to be used to resolve references encountered from * expanded contents of this entity. */ final URL mContext; /** * Flag that can be set to indicate that the declaration was in the * external DTD subset. Default is false. */ protected boolean mDeclaredExternally = false; public EntityDecl(Location loc, String name, URL ctxt) { super(loc); mName = name; mContext = ctxt; } public void markAsExternallyDeclared() { mDeclaredExternally = true; } @Override public final String getBaseURI() { return mContext.toExternalForm(); } @Override public final String getName() { return mName; } // 27-Mar-2018, tatu: Implemented by `BaseEventImpl` so... /* @Override public final Location getLocation() { return getLocation(); } */ @Override public abstract String getNotationName(); @Override public abstract String getPublicId(); @Override public abstract String getReplacementText(); public abstract int getReplacementText(Writer w) throws IOException; @Override public abstract String getSystemId(); /** * @return True, if the declaration occured in the external DTD * subset; false if not (internal subset, custom declaration) */ public boolean wasDeclaredExternally() { return mDeclaredExternally; } /* //////////////////////////////////////////////////////////// // Implementation of abstract base methods //////////////////////////////////////////////////////////// */ @Override public abstract void writeEnc(Writer w) throws IOException; /* //////////////////////////////////////////////////////////// // Extended API for Wstx core //////////////////////////////////////////////////////////// */ // // // Access to data public abstract char[] getReplacementChars(); public final int getReplacementTextLength() { String str = getReplacementText(); return (str == null) ? 0 : str.length(); } // // // Type information public abstract boolean isExternal(); public abstract boolean isParsed(); // // // Factory methods /** * Method called to create the new input source through which expansion * value of the entity can be read. */ public abstract WstxInputSource expand(WstxInputSource parent, XMLResolver res, ReaderConfig cfg, int xmlVersion) throws IOException, XMLStreamException; }
⏎ com/ctc/wstx/ent/EntityDecl.java
Or download all of them as a single archive file:
File name: woodstox-core-6.4.0-fyi.zip File size: 552992 bytes Release date: 2022-10-25 Download
⇒ woodstox-core-6.4.0.jar - Woodstox Core 6.4.0
⇐ What Is Woodstox XML Processing
2023-01-29, 3183👍, 0💬
Popular Posts:
How to download and install ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is a Java 5 J...
Apache BCEL Source Code Files are inside the Apache BCEL source package file like bcel-6.6.1-src.zip...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
SLF4J API is a simple API that allows to plug in any desired logging library at deployment time. Her...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...