org.apache.xalan.xsltc.compiler
Class Whitespace.WhitespaceRule
java.lang.Object
org.apache.xalan.xsltc.compiler.Whitespace.WhitespaceRule
- Enclosing class:
- Whitespace
private static final class Whitespace.WhitespaceRule
- extends java.lang.Object
Auxillary class for encapsulating a single strip/preserve rule
Constructor Summary |
Whitespace.WhitespaceRule(int action,
java.lang.String element,
int precedence)
Strip/preserve rule constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_action
private final int _action
_namespace
private java.lang.String _namespace
_element
private java.lang.String _element
_type
private int _type
_priority
private int _priority
Whitespace.WhitespaceRule
public Whitespace.WhitespaceRule(int action,
java.lang.String element,
int precedence)
- Strip/preserve rule constructor
compareTo
public int compareTo(Whitespace.WhitespaceRule other)
- For sorting rules depending on priority
getAction
public int getAction()
getStrength
public int getStrength()
getPriority
public int getPriority()
getElement
public java.lang.String getElement()
getNamespace
public java.lang.String getNamespace()