com.ctc.wstx.api.ValidatorConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of woodstox-core Show documentation
Show all versions of woodstox-core Show documentation
Woodstox is a high-performance XML processor that implements Stax (JSR-173),
SAX2 and Stax2 APIs
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;
}
}