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/evt/WNotationDeclaration.java

package com.ctc.wstx.evt;

import java.net.URL;

import javax.xml.stream.Location;

import org.codehaus.stax2.ri.evt.NotationDeclarationEventImpl;

/**
 * Woodstox implementation of {@link org.codehaus.stax2.evt.NotationDeclaration2}.
 * The only required addition is that of passing in the Base URI.
 *
 * @author Tatu Saloranta
 * 
 * @since 4.0.0
 */
public class WNotationDeclaration
    extends NotationDeclarationEventImpl
{
    /**
     * Base URL that can be used to resolve the notation reference if
     * necessary.
     */
    final URL _baseURL;

    public WNotationDeclaration(Location loc,
                                String name, String pubId, String sysId,
                                URL baseURL)
    {
        super(loc, name, pubId, sysId);
        _baseURL = baseURL;
    }

    @Override
    public String getBaseURI()
    {
        if (_baseURL == null) {
            return super.getBaseURI();
        }
        return _baseURL.toExternalForm();
    }
}

com/ctc/wstx/evt/WNotationDeclaration.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, 8941👍, 0💬