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

com.thaiopensource.relaxng.pattern.PossibleAttributeNamesFunction Maven / Gradle / Ivy

There is a newer version: 20151127.0.1
Show newest 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