Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » validation » schematron » [javadoc | source]
org.apache.cocoon.validation.schematron
public class: SchematronFactory [javadoc | source]
java.lang.Object
   org.apache.cocoon.validation.SchemaFactory
      org.apache.cocoon.validation.schematron.SchematronFactory
A helper class which builds a SchematronSchema instance object from a DOM source
Fields inherited from org.apache.cocoon.validation.SchemaFactory:
NAMESPACE_SCHEMATRON
Method from org.apache.cocoon.validation.schematron.SchematronFactory Summary:
bindAsserts,   bindPatterns,   bindPhaseActivePatterns,   bindPhases,   bindRerports,   bindRules,   buildSchema,   compileSchema,   fixns,   setupLogger
Methods from org.apache.cocoon.validation.SchemaFactory:
compileSchema,   lookup
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.validation.schematron.SchematronFactory Detail:
 protected  void bindAsserts(Rule rule,
    String pathPrefix,
    JXPathContext jxpContext) 
    populates the assert elements for a rule from the dom tree
 protected  void bindPatterns(SchematronSchema schema,
    JXPathContext jxpContext) 
    populates the patterns elements from the dom tree
 protected  void bindPhaseActivePatterns(Phase phase,
    String pathPrefix,
    JXPathContext jxpContext) 
 protected  void bindPhases(SchematronSchema schema,
    JXPathContext jxpContext) 
    populates the phases elements from the dom tree
 protected  void bindRerports(Rule rule,
    String pathPrefix,
    JXPathContext jxpContext) 
    populates the assert elements for a rule from the dom tree
 protected  void bindRules(Pattern pattern,
    String pathPrefix,
    JXPathContext jxpContext) 
    populates the rules elements for a pattern from the dom tree
 protected SchematronSchema buildSchema(Document doc) 
    Build Schematron schema object from a DOM document
 public Schema compileSchema(InputSource schemaSrc) throws InstantiationException 
    Builds a new Schema instance from the given XML InputSource
 protected String fixns(String path) 
 protected Logger setupLogger() 
    initialize logger