Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
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/UnparsedExtEntity.java
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 com.ctc.wstx.api.ReaderConfig;
import com.ctc.wstx.io.WstxInputSource;
public class UnparsedExtEntity
extends ExtEntity
{
final String mNotationId;
public UnparsedExtEntity(Location loc, String name, URL ctxt,
String pubId, String sysId,
String notationId)
{
super(loc, name, ctxt, pubId, sysId);
mNotationId = notationId;
}
@Override
public String getNotationName() {
return mNotationId;
}
/*
///////////////////////////////////////////
// Implementation of abstract base methods
///////////////////////////////////////////
*/
@Override
public void writeEnc(Writer w) throws IOException
{
w.write("<!ENTITY ");
w.write(mName);
String pubId = getPublicId();
if (pubId != null) {
w.write("PUBLIC \"");
w.write(pubId);
w.write("\" ");
} else {
w.write("SYSTEM ");
}
w.write('"');
w.write(getSystemId());
w.write("\" NDATA ");
w.write(mNotationId);
w.write('>');
}
/*
///////////////////////////////////////////
// Extended API for Wstx core
///////////////////////////////////////////
*/
// // // Type information
@Override
public boolean isParsed() { return false; }
@Override
public WstxInputSource expand(WstxInputSource parent,
XMLResolver res, ReaderConfig cfg, int xmlVersion)
{
// Should never get called, actually...
throw new IllegalStateException("Internal error: createInputSource() called for unparsed (external) entity.");
}
}
⏎ com/ctc/wstx/ent/UnparsedExtEntity.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, ≈61🔥, 0💬
Popular Posts:
JDK 11 java.rmi.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) module. JDK 11 RMI m...
Smack is an Open Source XMPP (Jabber) client library for instant messaging and presence. A pure Java...
maven-model-builder-3.8. 6.jaris the JAR file for Apache Maven 3.8.6 Model Builder module. Apache Ma...
JDK 11 jrt-fs.jar is the JAR file for JDK 11 JRT-FS (Java RunTime - File System) defined in the "jdk...
JLayer is a library that decodes/plays/converts MPEG 1/2/2.5 Layer 1/2/3 (i.e. MP3) in real time for...