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/dom/WstxDOMWrappingReader.java
package com.ctc.wstx.dom;
import java.util.Collections;
import javax.xml.stream.*;
import javax.xml.transform.dom.DOMSource;
import org.codehaus.stax2.ri.dom.DOMWrappingReader;
import com.ctc.wstx.api.ReaderConfig;
import com.ctc.wstx.exc.WstxParsingException;
public class WstxDOMWrappingReader
extends DOMWrappingReader
{
protected final ReaderConfig mConfig;
/*
///////////////////////////////////////////////////
// Life-cycle
///////////////////////////////////////////////////
*/
protected WstxDOMWrappingReader(DOMSource src, ReaderConfig cfg)
throws XMLStreamException
{
super(src, cfg.willSupportNamespaces(), cfg.willCoalesceText());
mConfig = cfg;
// [WSTX-162]: allow enabling/disabling name/ns intern()ing
if (cfg.hasInternNamesBeenEnabled()) {
setInternNames(true);
}
if (cfg.hasInternNsURIsBeenEnabled()) {
setInternNsURIs(true);
}
}
public static WstxDOMWrappingReader createFrom(DOMSource src, ReaderConfig cfg)
throws XMLStreamException
{
return new WstxDOMWrappingReader(src, cfg);
}
/*
///////////////////////////////////////////////////
// Defined/Overridden config methods
///////////////////////////////////////////////////
*/
@Override
public boolean isPropertySupported(String name) {
// !!! TBI: not all these properties are really supported
return mConfig.isPropertySupported(name);
}
@Override
public Object getProperty(String name)
{
if (name.equals("javax.xml.stream.entities")) {
// !!! TBI
return Collections.EMPTY_LIST;
}
if (name.equals("javax.xml.stream.notations")) {
// !!! TBI
return Collections.EMPTY_LIST;
}
return mConfig.getProperty(name);
}
@Override
public boolean setProperty(String name, Object value)
{
// Basic config accessor works just fine...
return mConfig.setProperty(name, value);
}
/*
///////////////////////////////////////////////////
// Defined/Overridden error reporting
///////////////////////////////////////////////////
*/
@Override
protected void throwStreamException(String msg, Location loc)
throws XMLStreamException
{
if (loc == null) {
throw new WstxParsingException(msg);
}
throw new WstxParsingException(msg, loc);
}
}
⏎ com/ctc/wstx/dom/WstxDOMWrappingReader.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, ≈60🔥, 0💬
Popular Posts:
What Is mail.jar of JavaMail 1.3? I got the JAR file from javamail-1_3.zip. mail.jar in javamail-1_3...
commons-io-2.6-sources.j aris the source JAR file for Apache Commons IO 2.6, which is a library of u...
What Is wstx-asl-3.2.8.jar? wstx-asl-3.2.8.jar is JAR file for the ASL component of Woodstox 3.2.8. ...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
SLF4J API is a simple API that allows to plug in any desired logging library at deployment time. Her...