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/StructValidator.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 com.ctc.wstx.util.PrefixedName;

/**
 * Base class for validator Objects used to validate tree structure of an
 * XML-document against DTD.
 */
public abstract class StructValidator
{
    /**
     * Method that should be called to get the actual usable validator
     * instance, from the 'template' validator.
     */
    public abstract StructValidator newInstance();

    /**
     * Method called when a new (start) element is encountered within the
     * scope of parent element this validator monitors.
     *
     * @return Null if element is valid in its current position; error
     *    message if not.
     */
    public abstract String tryToValidate(PrefixedName elemName);

    /**
     * Method called when the end element of the scope this validator
     * validates is encountered. It should make sure that the content
     * model is valid, and if not, to construct an error message.
     *
     * @return Null if the content model for the element is valid; error
     *    message if not.
     */
    public abstract String fullyValid();
}

com/ctc/wstx/dtd/StructValidator.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

Download and Review Woodstox wstx-*.jar

⇑⇑ Woodstox for XML Processing

2023-01-29, 10006👍, 0💬