1
package com.thaiopensource.relaxng.translate.util;
3
import com.thaiopensource.xml.util.Naming;
5
public abstract class NCNameParam extends AbstractParam {
6
public void set(String value) throws InvalidParamValueException {
7
if (!Naming.isNcname(value))
8
throw new ParamProcessor.LocalizedInvalidValueException("invalid_ncname");
12
protected abstract void setNCName(String value) throws InvalidParamValueException;