|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.trans.StripSpaceRules
public class StripSpaceRules
The set of rules used to decide strip-space/preserve-space matching of element names in XSLT.
Constructor Summary | |
---|---|
StripSpaceRules()
Default constructor - creates a StripSpaceRules containing no rules |
Method Summary | |
---|---|
void |
addRule(NodeTest test,
RuleBasedStripper.StripRuleTarget action,
StylesheetModule module,
int lineNumber)
Add a rule |
Rule |
getRule(int fingerprint)
Get the rule corresponding to a given element node, by finding the best pattern match. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StripSpaceRules()
Method Detail |
---|
public void addRule(NodeTest test, RuleBasedStripper.StripRuleTarget action, StylesheetModule module, int lineNumber)
test
- a NodeTest (*, *:local, prefix:*, or QName)action
- StripRuleTarget.STRIP or StripRuleTarget.PRESERVEmodule
- the stylesheet module containing the rulepublic Rule getRule(int fingerprint)
fingerprint
- the name of the element node to be matched
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |