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/osgi/ValidationSchemaFactoryProviderImpl.java
package com.ctc.wstx.osgi; import java.util.Properties; import org.codehaus.stax2.validation.XMLValidationSchema; import org.codehaus.stax2.validation.XMLValidationSchemaFactory; import org.codehaus.stax2.osgi.Stax2ValidationSchemaFactoryProvider; import com.ctc.wstx.api.ValidatorConfig; import com.ctc.wstx.dtd.DTDSchemaFactory; import com.ctc.wstx.msv.RelaxNGSchemaFactory; import com.ctc.wstx.msv.W3CSchemaFactory; public abstract class ValidationSchemaFactoryProviderImpl implements Stax2ValidationSchemaFactoryProvider { final String mSchemaType; protected ValidationSchemaFactoryProviderImpl(String st) { mSchemaType = st; } public static ValidationSchemaFactoryProviderImpl[] createAll() { return new ValidationSchemaFactoryProviderImpl[] { new DTD(), new RelaxNG(), new W3CSchema() }; } @Override public abstract XMLValidationSchemaFactory createValidationSchemaFactory(); @Override public String getSchemaType() { return mSchemaType; } public Properties getProperties() { Properties props = new Properties(); props.setProperty(OSGI_SVC_PROP_IMPL_NAME, ValidatorConfig.getImplName()); props.setProperty(OSGI_SVC_PROP_IMPL_VERSION, ValidatorConfig.getImplVersion()); props.setProperty(OSGI_SVC_PROP_SCHEMA_TYPE, mSchemaType); return props; } /* //////////////////////////////////////////////////////// // Actual provider instances, one per type supported //////////////////////////////////////////////////////// */ final static class DTD extends ValidationSchemaFactoryProviderImpl { DTD() { super(XMLValidationSchema.SCHEMA_ID_DTD); } @Override public XMLValidationSchemaFactory createValidationSchemaFactory() { return new DTDSchemaFactory(); } } final static class RelaxNG extends ValidationSchemaFactoryProviderImpl { RelaxNG() { super(XMLValidationSchema.SCHEMA_ID_RELAXNG); } @Override public XMLValidationSchemaFactory createValidationSchemaFactory() { return new RelaxNGSchemaFactory(); } } final static class W3CSchema extends ValidationSchemaFactoryProviderImpl { W3CSchema() { super(XMLValidationSchema.SCHEMA_ID_W3C_SCHEMA); } @Override public XMLValidationSchemaFactory createValidationSchemaFactory() { return new W3CSchemaFactory(); } } }
⏎ com/ctc/wstx/osgi/ValidationSchemaFactoryProviderImpl.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, 9584👍, 0💬
Popular Posts:
How to download and install javamail-1_2.zip? The JavaMail API is a set of abstract APIs that model ...
Commons VFS provides a single API for accessing various different file systems. It presents a unifor...
commons-fileupload-1.3.3 -sources.jaris the source JAR file for Apache Commons FileUpload 1.3., whic...
How to display types defined in an XML Schema file with the xs\QueryXS.java provided in the Apache X...
How to download and install ojdbc11.jar for Oracle 21c? ojdbc11.jar for Oracle 21c is a Java JDBC Dr...