Class SchematronProfile

java.lang.Object
org.openehealth.ipf.commons.xml.SchematronProfile

public class SchematronProfile extends Object
Validation profile exclusively used by SchematronValidator. The following standard Schematron parameters can be passed in as Map parameter:
  • phase : NMTOKEN | "#ALL" (default) Select the phase for validation
  • allow-foreign : "true" | "false" (default) Pass non-Schematron elements and rich markup to the generated stylesheet
  • diagnose : "true" (default) | "false" Add the diagnostics to the assertion test in reports
  • property : "true" (default) | "false" Experimental: Add properties to the assertion test in reports
  • generate-paths : "true" (default) | "false" Generate the @location attribute with XPaths
  • sch.exslt.imports : semi-colon delimited string of filenames for some EXSLT implementations
  • optimize : "visit-no-attributes" Use only when the schema has no attributes as the context nodes
  • generate-fired-rule: "true" (default) | "false" Generate fired-rule elements
Author:
Christian Ohr
See Also:
  • Constructor Details

    • SchematronProfile

      public SchematronProfile()
    • SchematronProfile

      public SchematronProfile(String rules)
    • SchematronProfile

      public SchematronProfile(String rules, Map<String,Object> parameters)
  • Method Details

    • getRules

      public String getRules()
    • setRules

      public void setRules(String rules)
    • getParameters

      public Map<String,Object> getParameters()
    • setParameters

      public void setParameters(Map<String,Object> parameters)