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/dtd/DTDSubset.java
/* Woodstox XML processor * * Copyright (c) 2004- Tatu Saloranta, tatu.saloranta@iki.fi * * Licensed under the License specified in the file LICENSE which is * 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.dtd; import java.util.*; import javax.xml.stream.XMLStreamException; import javax.xml.stream.events.NotationDeclaration; import org.codehaus.stax2.validation.*; import com.ctc.wstx.ent.EntityDecl; import com.ctc.wstx.sr.InputProblemReporter; import com.ctc.wstx.util.PrefixedName; /** * This is the abstract base class that implements the standard Stax2 * validation schema base class ({@link XMLValidationSchema}, as well * as specifies extended Woodstox-specific interface for accessing * DTD-specific things like entity expansions and notation properties. *<p> * API is separated from its implementation to reduce coupling; for example, * it is possible to have DTD subset implementations that do not implement * validation logics, just entity expansion. */ public abstract class DTDSubset implements DTDValidationSchema { /* ////////////////////////////////////////////////////// // Life-cycle ////////////////////////////////////////////////////// */ protected DTDSubset() { } /** * Method that will combine definitions from this internal subset with * definitions from passed-in external subset, producing a new combined * DTDSubset instance. */ public abstract DTDSubset combineWithExternalSubset(InputProblemReporter rep, DTDSubset extSubset) throws XMLStreamException; /* ////////////////////////////////////////////////////// // XMLValidationSchema implementation ////////////////////////////////////////////////////// */ @Override public abstract XMLValidator createValidator(ValidationContext ctxt) throws XMLStreamException; @Override public String getSchemaType() { return XMLValidationSchema.SCHEMA_ID_DTD; } /* ////////////////////////////////////////////////////// // And extended DTDValidationSchema ////////////////////////////////////////////////////// */ @Override public abstract int getEntityCount(); @Override public abstract int getNotationCount(); /* ////////////////////////////////////////////////////// // Woodstox-specific API, caching support ////////////////////////////////////////////////////// */ public abstract boolean isCachable(); /** * Method used in determining whether cached external subset instance * can be used with specified internal subset. If ext. subset references * any parameter entities int subset (re-)defines, it can not; otherwise * it can be used. * * @return True if this (external) subset refers to a parameter entity * defined in passed-in internal subset. */ public abstract boolean isReusableWith(DTDSubset intSubset); /* ////////////////////////////////////////////////////// // Woodstox-specific API, entity/notation handling ////////////////////////////////////////////////////// */ public abstract HashMap<String,EntityDecl> getGeneralEntityMap(); public abstract List<EntityDecl> getGeneralEntityList(); public abstract HashMap<String,EntityDecl> getParameterEntityMap(); public abstract HashMap<String,NotationDeclaration> getNotationMap(); public abstract List<NotationDeclaration> getNotationList(); public abstract HashMap<PrefixedName,DTDElement> getElementMap(); }
⏎ com/ctc/wstx/dtd/DTDSubset.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, 9306👍, 0💬
Popular Posts:
JLayer is a library that decodes/plays/converts MPEG 1/2/2.5 Layer 1/2/3 (i.e. MP3) in real time for...
JSP(tm) Standard Tag Library 1.1 implementation - Jakarta Taglibs hosts the Standard Taglib 1.1, an ...
How to display types defined in an XML Schema file with the xs\QueryXS.java provided in the Apache X...
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms, it was develo...
Commons Pool provides an Object-pooling API, with three major aspects: 1. A generic object pool inte...