All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ctc.wstx.api.ValidatorConfig Maven / Gradle / Ivy

Go to download

Woodstox is a high-performance XML processor that implements Stax (JSR-173), SAX2 and Stax2 APIs

The newest version!
package com.ctc.wstx.api;

public final class ValidatorConfig
    extends CommonConfig
{
    /**
     * For now, since there are no mutable properties, we can share
     * a singleton instance.
     */
    final static ValidatorConfig sInstance = new ValidatorConfig(null);

    private ValidatorConfig(ValidatorConfig base) {
        super(base);
    }

    public static ValidatorConfig createDefaults()
    {
        /* For now, since there are no mutable properties, we can share
         * a singleton instance.
         */
        return sInstance;
    }

    @Override
    protected int findPropertyId(String propName) {
        // Nothing above and beyond default settings...
        return -1;
    }

    @Override
    protected Object getProperty(int id) {
        // nothing to get:
        return null;
    }

    @Override
    protected boolean setProperty(String propName, int id, Object value) {
        // nothing to set:
        return false;
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy