com.sun.msv.schematron.grammar
Class SRule

java.lang.Object
  extended by com.sun.msv.schematron.grammar.SActions
      extended by com.sun.msv.schematron.grammar.SRule

public class SRule
extends SActions


Field Summary
 
Fields inherited from class com.sun.msv.schematron.grammar.SActions
asserts, reports
 
Constructor Summary
SRule(org.apache.xpath.XPath _match, Collection _asserts, Collection _reports)
           
 
Method Summary
 boolean matches(Node node)
          checks if the given Node matches this rule.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SRule

public SRule(org.apache.xpath.XPath _match,
             Collection _asserts,
             Collection _reports)
Method Detail

matches

public boolean matches(Node node)
                throws TransformerException
checks if the given Node matches this rule.

Throws:
TransformerException