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/util/DefaultXmlSymbolTable.java
package com.ctc.wstx.util; /** * Factory class used for instantiating pre-populated XML symbol * tables. Such tables already have basic String constants that * XML standard defines. */ public final class DefaultXmlSymbolTable { /** * Root symbol table from which child instances are derived. */ final static SymbolTable sInstance; final static String mNsPrefixXml; final static String mNsPrefixXmlns; /* Although theoretically there'd be no strict need to pre-populate * the default table, if all access was done using suggested usage * patterns (reuse input factories consistently, esp. for same types * of documents), it is possible some developers just use each factory * just once. As such, it does matter how tables are pre-populated. * Thus, let's use limited sensible set of predefined prefixes and * names. */ static { /* 128 means it's ok without resize up to ~96 symbols; true that * default symbols added will be interned. */ sInstance = new SymbolTable(true, 128); // Let's add default namespace binding prefixes mNsPrefixXml = sInstance.findSymbol("xml"); mNsPrefixXmlns = sInstance.findSymbol("xmlns"); /* No need to add keywords, as they are checked directly by * Reader, without constructing Strings. */ // Ok, any common prefixes? // or local names (element, attribute)? sInstance.findSymbol("id"); sInstance.findSymbol("name"); // XML Schema? // prefixes: sInstance.findSymbol("xsd"); sInstance.findSymbol("xsi"); // local names: sInstance.findSymbol("type"); // How about some common prefixes and names for Soap? // commonly used prefixes: sInstance.findSymbol("soap"); sInstance.findSymbol("SOAP-ENC"); sInstance.findSymbol("SOAP-ENV"); // local names: sInstance.findSymbol("Body"); sInstance.findSymbol("Envelope"); } /* /////////////////////////////////////////////////// // Public API, factory method(s): /////////////////////////////////////////////////// */ /** * Method that will return an instance of SymbolTable that has basic * XML 1.0 constants pre-populated. */ public static SymbolTable getInstance() { return sInstance.makeChild(); } /* /////////////////////////////////////////////////// // Public API, efficient access to (shared) // constants values: /////////////////////////////////////////////////// */ public static String getXmlSymbol() { return mNsPrefixXml; } public static String getXmlnsSymbol() { return mNsPrefixXmlns; } }
⏎ com/ctc/wstx/util/DefaultXmlSymbolTable.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, ≈34🔥, 0💬
Popular Posts:
What Is log4j-1.2.15.jar? I got the JAR file from apache-log4j-1.2.15.zip. log4j-1.2.15.jar is the v...
What Is ojdbc8.jar for Oracle 12c R2? ojdbc8.jar for Oracle 12c R2 is the JAR files of ojdbc.jar, JD...
jlGui is a music player for the Java platform. It is based on Java Sound 1.0 (i.e. JDK 1.3+). It sup...
Where Can I see Java Source Code files for Xerces Java 2.11.2? Here are Java Source Code files for X...
What Is HttpComponents httpclient-4.2.2.jar? HttpComponents httpclient-4.2.2.jar is the JAR file for...