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

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

There is a newer version: 0.10.0
Show 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;
    }

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

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

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy