com.thaiopensource.relaxng.pattern.PossibleAttributeNamesFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jing Show documentation
Show all versions of jing Show documentation
Jing - tool for validating RelaxNG - (OSGi-compatible version)
package com.thaiopensource.relaxng.pattern;
import com.thaiopensource.util.VoidValue;
/**
* PatternFunction to compute the name class of possible attributes.
* Computes a NormalizedNameClass.
*/
class PossibleAttributeNamesFunction extends PossibleNamesFunction {
public VoidValue caseAttribute(AttributePattern p) {
add(p.getNameClass());
return VoidValue.VOID;
}
public VoidValue caseGroup(GroupPattern p) {
return caseBinary(p);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy