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

com.thaiopensource.relaxng.impl.TextOnlyFunction Maven / Gradle / Ivy

Go to download

A branch of Jing used by the Nu Html Checker. (Jing is a tool for validating documents against RelaxNG schemas.)

The newest version!
package com.thaiopensource.relaxng.impl;

class TextOnlyFunction extends EndAttributesFunction {
  TextOnlyFunction(ValidatorPatternBuilder builder) {
    super(builder);
  }
  public Object caseAttribute(AttributePattern p) {
    return p;
  }
  public Object caseElement(ElementPattern p) {
    return getPatternBuilder().makeNotAllowed();
  }

  PatternMemo apply(PatternMemo memo) {
    return memo.textOnly(this);
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy